Change GITHUB_TOKEN to RELEASE_TOKEN in workflows
This commit is contained in:
1 parent
05e6670060
commit
59e7b5f030
1 file changed
+3
-3
@@ -79,7 +79,7 @@ jobs:
|
||||
if: github.event_name == 'release' || github.event.inputs.release_tag
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.get-release.outputs.upload_url }}
|
||||
asset_path: ${{ steps.find-deb.outputs.path }}
|
||||
@@ -165,9 +165,9 @@ jobs:
|
||||
if: github.event_name == 'release' || github.event.inputs.release_tag
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.get-release.outputs.upload_url }}
|
||||
asset_path: ${{ steps.find-rpm.outputs.path }}
|
||||
asset_name: ${{ steps.find-rpm.outputs.name }}
|
||||
asset_content_type: application/x-rpm
|
||||
asset_content_type: application/x-rpm
|
||||
Reference in new issue
Block a user