Skip to content

Commit 4f57736

Browse files
committed
feat: add macos arm to install-release-binary
1 parent 7cb78db commit 4f57736

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/test-install-release-binary.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ jobs:
88
os:
99
- ubuntu-latest
1010
- windows-latest
11-
- macos-latest
11+
- macos-26-intel
12+
- macos-26
1213
runs-on: ${{ matrix.os }}
1314
steps:
1415
- uses: actions/checkout@v6
@@ -26,7 +27,8 @@ jobs:
2627
os:
2728
- ubuntu-latest
2829
- windows-latest
29-
- macos-latest
30+
- macos-26-intel
31+
- macos-26
3032
runs-on: ${{ matrix.os }}
3133
steps:
3234
- uses: actions/checkout@v6

install-release-binary/action.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ inputs:
2020
required: false
2121
default: x86_64-unknown-linux-gnu
2222
macos-suffix:
23-
description: The suffix to add to Linux binaries
23+
description: The suffix to add to macOS binaries
2424
required: false
2525
default: x86_64-apple-darwin
26+
macos-arm-suffix:
27+
description: The suffix to add to macOS ARM binaries
28+
required: false
29+
default: aarch64-apple-darwin
2630
version:
2731
description: The required release version
2832
required: false
@@ -33,16 +37,17 @@ runs:
3337
steps:
3438
- name: Determin Binary Name
3539
id: get-binary-name
36-
uses: tomphp/github-actions/determine-binary-name@v0.4.1
40+
uses: tomphp/github-actions/determine-binary-name@v0.6.0
3741
with:
3842
name: ${{ inputs.binary-name }}
3943
windows-suffix: ${{ inputs.windows-suffix }}
4044
linux-suffix: ${{ inputs.linux-suffix }}
4145
macos-suffix: ${{ inputs.macos-suffix }}
46+
macos-arm-suffix: ${{ inputs.macos-arm-suffix }}
4247

4348
- name: Determine Release URL
4449
id: get-release-url
45-
uses: tomphp/github-actions/determine-release-url@v0.4.1
50+
uses: tomphp/github-actions/determine-release-url@v0.6.0
4651
with:
4752
owner: ${{ inputs.owner }}
4853
repository: ${{ inputs.repository }}
@@ -51,6 +56,7 @@ runs:
5156
windows-suffix: ${{ inputs.windows-suffix }}
5257
linux-suffix: ${{ inputs.linux-suffix }}
5358
macos-suffix: ${{ inputs.macos-suffix }}
59+
macos-arm-suffix: ${{ inputs.macos-arm-suffix }}
5460

5561
- name: Install Binary
5662
id: install

0 commit comments

Comments
 (0)