Fix macOS x86 release workflow
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
|
||||
macos-release-x86:
|
||||
name: macOS Release - x86_64
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-15-intel
|
||||
steps:
|
||||
- name: Install Rust Target
|
||||
run: rustup target add x86_64-apple-darwin
|
||||
@@ -38,17 +38,17 @@ jobs:
|
||||
- name: Build
|
||||
run: cargo build --release --target x86_64-apple-darwin
|
||||
- name: Archive
|
||||
working-directory: target/release
|
||||
working-directory: target/x86_64-apple-darwin/release
|
||||
run: tar -czvf grin-${{ github.ref_name }}-macos-x86_64.tar.gz grin
|
||||
- name: Create Checksum
|
||||
working-directory: target/release
|
||||
working-directory: target/x86_64-apple-darwin/release
|
||||
run: openssl sha256 grin-${{ github.ref_name }}-macos-x86_64.tar.gz > grin-${{ github.ref_name }}-macos-x86_64-sha256sum.txt
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
target/release/grin-${{ github.ref_name }}-macos-x86_64.tar.gz
|
||||
target/release/grin-${{ github.ref_name }}-macos-x86_64-sha256sum.txt
|
||||
target/x86_64-apple-darwin/release/grin-${{ github.ref_name }}-macos-x86_64.tar.gz
|
||||
target/x86_64-apple-darwin/release/grin-${{ github.ref_name }}-macos-x86_64-sha256sum.txt
|
||||
|
||||
macos-release-arm64:
|
||||
name: macOS Release - arm64
|
||||
|
||||
Reference in New Issue
Block a user