Skip to content

Commit 20633e3

Browse files
Change macOS runner and add architecture detection
Updated macOS runner version and added architecture detection step.
1 parent 79f2ba7 commit 20633e3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions:
3030

3131
jobs:
3232
build:
33-
runs-on: macos-latest
33+
runs-on: macos-13
3434
env:
3535
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
3636
APPLE_DEVELOPER_CERTIFICATE_P12_BASE64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
@@ -66,6 +66,11 @@ jobs:
6666
- name: Install gon
6767
run: |
6868
brew install Bearer/tap/gon
69+
# New: detect architecture and expose as step output
70+
- name: Detect runner architecture
71+
id: arch
72+
run: |
73+
echo "arch=$(uname -m)" >> $GITHUB_OUTPUT
6974
- name: Setup Docker on macOS
7075
if: inputs.dev == false
7176
uses: douglascamata/setup-docker-macos-action@v1.0.1

0 commit comments

Comments
 (0)