diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ee0e56f..c0b26b6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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