Skip to content

Commit

Permalink
Change artifact publisher to an upload for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout Feys committed Sep 20, 2024
1 parent 8c4c073 commit 0f90039
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
- name: Build the project
run: cargo build --release

- name: Publish artifact
uses: actions/upload-artifact@v3
- name: Upload release asset
uses: actions/upload-release-asset@v1
with:
name: rust-release-artifact
path: target/release/libzen_rustlib.so
upload_url: ${{ github.event.release.upload_url }}
asset_path: target/release/libzen_rustlib.so
asset_name: libzen_rustlib.so
asset_content_type: application/octet-stream

0 comments on commit 0f90039

Please sign in to comment.