Overriding the github token directly for the release
This commit is contained in:
@@ -58,11 +58,9 @@ jobs:
|
|||||||
echo "sha=dist/$name.sha256" >> $GITHUB_OUTPUT
|
echo "sha=dist/$name.sha256" >> $GITHUB_OUTPUT
|
||||||
echo "bin=dist/$bin" >> $GITHUB_OUTPUT
|
echo "bin=dist/$bin" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Publish Archive and SHA
|
- name: Publish Archive, binary and SHA
|
||||||
if: env.ACT != 'true'
|
if: env.ACT != 'true'
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
${{ steps.package.outputs.archive }}
|
${{ steps.package.outputs.archive }}
|
||||||
@@ -71,7 +69,7 @@ jobs:
|
|||||||
tag_name: v${{ steps.check-tag.outputs.version }}
|
tag_name: v${{ steps.check-tag.outputs.version }}
|
||||||
name: "v${{ steps.check-tag.outputs.version }}"
|
name: "v${{ steps.check-tag.outputs.version }}"
|
||||||
prerelease: ${{ steps.check-tag.outputs.rc == 'true' }}
|
prerelease: ${{ steps.check-tag.outputs.rc == 'true' }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.DTOOLS_GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Add artifacts
|
- name: Add artifacts
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -84,6 +82,6 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifacts-v${{ env.VERSION }}
|
name: artifacts-v${{ steps.check-tag.outputs.version }}
|
||||||
path: artifacts
|
path: artifacts
|
||||||
overwrite: true
|
overwrite: true
|
||||||
Reference in New Issue
Block a user