From fad2d1b39111c477aade09e7d15a0d771ecc6763 Mon Sep 17 00:00:00 2001 From: xosnrdev Date: Mon, 16 Sep 2024 08:21:04 -0400 Subject: [PATCH] chore: Update release workflow to use shogo82148/actions-upload-release-asset@v1 resolves depreciation warning --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18d7113..601bdca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,11 +38,10 @@ jobs: tar -czf $ARCHIVE_NAME -C target/release $APP_NAME - name: Upload release asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + uses: shogo82148/actions-upload-release-asset@v1 with: upload_url: ${{ env.UPLOAD_URL }} asset_path: ${{ env.ARCHIVE_NAME }} asset_name: ${{ env.ARCHIVE_NAME }} asset_content_type: application/gzip + github_token: ${{ secrets.GH_TOKEN }}