diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5d0792e..cae0053 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,17 +23,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/${{ env.binary }} - 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 }} - asset_name: ${{ env.binary }}-linux-${{ steps.get_version.outputs.tag }} + file: target/x86_64-unknown-linux-gnu/release/${{ env.binary }} + asset_name: ${{ env.binary }} tag: ${{ github.ref }} overwrite: true