Skip to content

Commit 515f377

Browse files
authored
github: replace actions/upload-release-asset@v1 with gh cli (#8264)
1 parent ec2d624 commit 515f377

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,7 @@ jobs:
5757
echo "name=${PACKAGE_NAME}" >> $GITHUB_OUTPUT
5858
5959
- name: Upload asset
60-
uses: actions/upload-release-asset@v1
60+
run: |
61+
gh release upload ${{ github.event.release.tag_name }} ./${{ steps.package.outputs.name }}
6162
env:
6263
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63-
with:
64-
upload_url: ${{ github.event.release.upload_url }}
65-
asset_path: ./${{ steps.package.outputs.name }}
66-
asset_name: ${{ steps.package.outputs.name }}
67-
asset_content_type: application/gzip

0 commit comments

Comments
 (0)