diff --git a/.github/workflows/release-pgo.yml b/.github/workflows/release-pgo.yml index 3fbd3be5..7a1a07b8 100644 --- a/.github/workflows/release-pgo.yml +++ b/.github/workflows/release-pgo.yml @@ -47,7 +47,7 @@ jobs: - uses: oven-sh/setup-bun@v1 - run: bun run pgo.js --target ${{ matrix.target }} ${{ matrix.additional_args }} - name: Upload binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: target/${{ matrix.target }}/pgo/${{ matrix.artifact_name }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66a8e679..7fd73c65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: args: --release --target ${{ matrix.target }} --locked --no-default-features --features rustls ${{ matrix.additional_args }} strip: true - name: Upload binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}