Skip to content

Commit

Permalink
调整release action以支持MacOS arm64安装包 #77
Browse files Browse the repository at this point in the history
  • Loading branch information
heqingpan committed May 12, 2024
1 parent b27c423 commit 5b397cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
os: ubuntu-latest
name: rnacos-x86_64-unknown-linux-musl.tar.gz
- target: x86_64-apple-darwin
os: macos-latest-large
os: macos-13
name: rnacos-x86_64-apple-darwin.tar.gz
- target: x86_64-pc-windows-msvc
os: windows-latest
Expand All @@ -42,7 +42,7 @@ jobs:
os: windows-latest
name: rnacos-aarch64-pc-windows-msvc.zip
- target: arm64-apple-darwin
os: macos-latest-xlarge
os: macos-latest
name: rnacos-arm64-apple-darwin.tar.gz
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -59,7 +59,7 @@ jobs:
# Install gnu-tar because BSD tar is buggy
# https://github.com/actions/cache/issues/403
- name: Install GNU tar (macOS)
if: ${{ matrix.os == 'macos-latest-large' || matrix.os == 'macos-latest-xlarge' }}
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-latest' }}
run: |
brew install gnu-tar
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
Expand Down

0 comments on commit 5b397cb

Please sign in to comment.