fix(cicd): file path

This commit is contained in:
davidon-top 2023-12-09 14:28:10 +00:00
parent 80e9d39327
commit 9094271db3
Signed by: DavidOnTop
GPG key ID: FAB914DDC2F180EB

View file

@ -26,17 +26,11 @@ jobs:
- name: Build
run: |
cargo build --release --target x86_64-unknown-linux-gnu
- name: Upload binaries to artifacts
uses: actions/upload-artifact@v3
with:
path: target/x86_64-unknown-linux-gnu/release/lib${{ env.binary }}.so
name: ${{ env.binary }}
retention-days: 1
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.binary }}
file: target/x86_64-unknown-linux-gnu/release/lib${{ env.binary }}.so
asset_name: lib${{ env.binary }}.so
tag: ${{ github.ref }}
overwrite: true