Skip to content

Commit

Permalink
Use artifacts path
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Oct 15, 2024
1 parent 63b5bbe commit 3aab49f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-versoview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,20 @@ jobs:
runs-on: ubuntu-latest
needs: [build-linux, build-others]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: artifacts

- working-directory: ./verso-x86_64-pc-windows-msvc
- working-directory: ./artifacts/verso-x86_64-pc-windows-msvc
run: zip -r ../verso-x86_64-pc-windows-msvc.zip *
- working-directory: ./verso-aarch64-apple-darwin
- working-directory: ./artifacts/verso-aarch64-apple-darwin
run: zip -r ../verso-aarch64-apple-darwin.zip *
- working-directory: ./verso-x86_64-unknown-linux-gnu
- working-directory: ./artifacts/verso-x86_64-unknown-linux-gnu
run: zip -r ../verso-x86_64-unknown-linux-gnu.zip *

- name: Publish release
working-directory: ./artifacts/verso-x86_64-pc-windows-msvc
run: |
RELEASE_TAG=versoview-v$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[] | select(.name == "verso") | .version')
git fetch --tags --quiet
Expand Down

0 comments on commit 3aab49f

Please sign in to comment.