Skip to content

Commit

Permalink
Use aarch64 suffix, not arm64, for Apple Silicon binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
timrogers committed Oct 11, 2024
1 parent 57a1df9 commit 9d3eb41
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
}
- {
target: aarch64-apple-darwin,
binary_name: darwin-arm64,
binary_name: darwin-aarch64,
os: macos-latest,
}
- {
Expand Down Expand Up @@ -122,9 +122,9 @@ jobs:
- name: Download macOS arm64 binary
uses: actions/download-artifact@v4
with:
name: litra_${{ steps.sanitise_ref.outputs.value }}_darwin-arm64
name: litra_${{ steps.sanitise_ref.outputs.value }}_darwin-aarch64
- name: Create universal macOS binary
run: lipo -create -output litra_${{ steps.sanitise_ref.outputs.value }}_darwin-universal litra_${{ steps.sanitise_ref.outputs.value }}_darwin-amd64 litra_${{ steps.sanitise_ref.outputs.value }}_darwin-arm64
run: lipo -create -output litra_${{ steps.sanitise_ref.outputs.value }}_darwin-universal litra_${{ steps.sanitise_ref.outputs.value }}_darwin-amd64 litra_${{ steps.sanitise_ref.outputs.value }}_darwin-aarch64
- name: Write Apple signing key to a file (macOS only)
env:
APPLE_SIGNING_KEY_P12: ${{ secrets.APPLE_SIGNING_KEY_P12 }}
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
name: litra_${{ steps.sanitise_ref.outputs.value }}_darwin-amd64
- uses: actions/download-artifact@v4
with:
name: litra_${{ steps.sanitise_ref.outputs.value }}_darwin-arm64
name: litra_${{ steps.sanitise_ref.outputs.value }}_darwin-aarch64
- uses: actions/download-artifact@v4
with:
name: litra_${{ steps.sanitise_ref.outputs.value }}_darwin-universal
Expand All @@ -219,7 +219,7 @@ jobs:
files: |
litra_${{ steps.sanitise_ref.outputs.value }}_windows-amd64.exe
litra_${{ steps.sanitise_ref.outputs.value }}_darwin-amd64
litra_${{ steps.sanitise_ref.outputs.value }}_darwin-arm64
litra_${{ steps.sanitise_ref.outputs.value }}_darwin-aarch64
litra_${{ steps.sanitise_ref.outputs.value }}_linux-amd64
litra_${{ steps.sanitise_ref.outputs.value }}_linux-aarch64
litra_${{ steps.sanitise_ref.outputs.value }}_darwin-universal
Expand Down

0 comments on commit 9d3eb41

Please sign in to comment.