Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bgreni authored Oct 25, 2024
1 parent 6b9c870 commit d64254c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Run Build and Tests
- name: Publish package to prefix.dev
env:
TARGET_PLATFORM: ${{ matrix.target }}
PREFIX_API_KEY: $${{ secrets.PREFIX_API_KEY }}
run: |
curl -ssL https://magic.modular.com | bash
source $HOME/.bash_profile
Expand All @@ -32,7 +33,7 @@ jobs:
RATTLER_BINARY="rattler-build-aarch64-apple-darwin"
if [[ $TARGET_PLATFORM == "linux-64" ]]; then
RATTLER_BINARY="rattler-build-x86_64-unknown-linux-musl";
curl -SL --progress-bar https://github.com/prefix-dev/rattler-build/releases/latest/download/${RATTLER_BINARY} -o rattler-build
curl -SL --progress-bar https://github.com/prefix-dev/rattler-build/releases/latest/download/${RATTLER_BINARY} -o rattler-build || exit 1
chmod +x rattler-build
else
brew install rattler-build
Expand Down

0 comments on commit d64254c

Please sign in to comment.