From 93b64b44d41b3337fd50541e74a4f2aacad0d7c6 Mon Sep 17 00:00:00 2001 From: Tom Oram Date: Sat, 16 May 2026 21:07:18 +0100 Subject: [PATCH 1/2] feat: add macos arm to determine-release-url --- .github/workflows/test-determine-release-url.yml | 9 +++++++-- determine-release-url/action.yml | 11 ++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-determine-release-url.yml b/.github/workflows/test-determine-release-url.yml index bb564cc..4f9f72c 100644 --- a/.github/workflows/test-determine-release-url.yml +++ b/.github/workflows/test-determine-release-url.yml @@ -10,8 +10,10 @@ jobs: expected-url: https://github.com/example-org/example-app/releases/latest/download/my-binary-x86_64-unknown-linux-gnu - image: windows-latest expected-url: https://github.com/example-org/example-app/releases/latest/download/my-binary-x86_64-pc-windows-msvc.exe - - image: macos-latest + - image: macos-26-intel expected-url: https://github.com/example-org/example-app/releases/latest/download/my-binary-x86_64-apple-darwin + - image: macos-26 + expected-url: https://github.com/example-org/example-app/releases/latest/download/my-binary-aarch64-apple-darwin runs-on: ${{ matrix.os.image }} steps: - uses: actions/checkout@v6 @@ -35,8 +37,10 @@ jobs: expected-url: https://github.com/demo-org/demo-app/releases/latest/download/program-linux - image: windows-latest expected-url: https://github.com/demo-org/demo-app/releases/latest/download/program-windows.exe - - image: macos-latest + - image: macos-26-intel expected-url: https://github.com/demo-org/demo-app/releases/latest/download/program-macos + - image: macos-26 + expected-url: https://github.com/demo-org/demo-app/releases/latest/download/program-macos-arm runs-on: ${{ matrix.os.image }} steps: - uses: actions/checkout@v6 @@ -49,6 +53,7 @@ jobs: linux-suffix: linux windows-suffix: windows macos-suffix: macos + macos-arm-suffix: macos-arm - uses: armakuni/github-actions/assert-equals@v0.19.14 name: Check url with: diff --git a/determine-release-url/action.yml b/determine-release-url/action.yml index 6139fae..15a4e23 100644 --- a/determine-release-url/action.yml +++ b/determine-release-url/action.yml @@ -20,9 +20,13 @@ inputs: required: false default: x86_64-unknown-linux-gnu macos-suffix: - description: The suffix to add to Linux binaries + description: The suffix to add to macOS binaries required: false default: x86_64-apple-darwin + macos-arm-suffix: + description: The suffix to add to macOS ARM binaries + required: false + default: aarch64-apple-darwin version: description: The required release version required: false @@ -36,14 +40,15 @@ outputs: runs: using: composite steps: - - name: Determin Binary Name + - name: Determine Binary Name id: get-binary-name - uses: tomphp/github-actions/determine-binary-name@v0.3.0 + uses: tomphp/github-actions/determine-binary-name@v0.6.0 with: name: ${{ inputs.binary-name }} windows-suffix: ${{ inputs.windows-suffix }} linux-suffix: ${{ inputs.linux-suffix }} macos-suffix: ${{ inputs.macos-suffix }} + macos-arm-suffix: ${{ inputs.macos-arm-suffix }} - name: Determine Release Base URL id: get-base-url From f41cb0db58c2679ce487888e681132110bc655dc Mon Sep 17 00:00:00 2001 From: Tom Oram Date: Sat, 16 May 2026 21:07:46 +0100 Subject: [PATCH 2/2] feat: add macos arm to install-release-binary --- .github/workflows/test-install-release-binary.yml | 6 ++++-- install-release-binary/action.yml | 12 +++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-install-release-binary.yml b/.github/workflows/test-install-release-binary.yml index 3ff0ee3..df71d5a 100644 --- a/.github/workflows/test-install-release-binary.yml +++ b/.github/workflows/test-install-release-binary.yml @@ -8,7 +8,8 @@ jobs: os: - ubuntu-latest - windows-latest - - macos-latest + - macos-26-intel + - macos-26 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v6 @@ -26,7 +27,8 @@ jobs: os: - ubuntu-latest - windows-latest - - macos-latest + - macos-26-intel + - macos-26 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v6 diff --git a/install-release-binary/action.yml b/install-release-binary/action.yml index 3112b75..85f6117 100644 --- a/install-release-binary/action.yml +++ b/install-release-binary/action.yml @@ -20,9 +20,13 @@ inputs: required: false default: x86_64-unknown-linux-gnu macos-suffix: - description: The suffix to add to Linux binaries + description: The suffix to add to macOS binaries required: false default: x86_64-apple-darwin + macos-arm-suffix: + description: The suffix to add to macOS ARM binaries + required: false + default: aarch64-apple-darwin version: description: The required release version required: false @@ -33,16 +37,17 @@ runs: steps: - name: Determin Binary Name id: get-binary-name - uses: tomphp/github-actions/determine-binary-name@v0.4.1 + uses: tomphp/github-actions/determine-binary-name@v0.6.0 with: name: ${{ inputs.binary-name }} windows-suffix: ${{ inputs.windows-suffix }} linux-suffix: ${{ inputs.linux-suffix }} macos-suffix: ${{ inputs.macos-suffix }} + macos-arm-suffix: ${{ inputs.macos-arm-suffix }} - name: Determine Release URL id: get-release-url - uses: tomphp/github-actions/determine-release-url@v0.4.1 + uses: tomphp/github-actions/determine-release-url@v0.6.0 with: owner: ${{ inputs.owner }} repository: ${{ inputs.repository }} @@ -51,6 +56,7 @@ runs: windows-suffix: ${{ inputs.windows-suffix }} linux-suffix: ${{ inputs.linux-suffix }} macos-suffix: ${{ inputs.macos-suffix }} + macos-arm-suffix: ${{ inputs.macos-arm-suffix }} - name: Install Binary id: install