👷 Use default GitHub Secret

This commit is contained in:
Nikhil Badyal
2022-10-22 19:32:15 +05:30
parent dabcb9bc6a
commit 53c255d188
5 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -56,14 +56,14 @@ jobs:
- name: Delete Older Releases
uses: nikhilbadyal/ghaction-rm-releases@v0.0.1
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_PATTERN: 'Build*'
- name: Upload Build Artifact
uses: ncipollo/release-action@v1.11.1
with:
artifacts: "*-output.apk"
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
tag: Build-${{ steps.get-date.outputs.date }}
artifactErrorsFailBuild: true
generateReleaseNotes: true
@@ -81,7 +81,7 @@ jobs:
if: ${{ inputs.VIRUSTOTAL_SCAN }}
secrets:
VT_API_KEY: ${{ secrets.VT_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
upload-to-telegram:
needs: [ upload-to-github ]
@@ -120,4 +120,4 @@ jobs:
needs: [ upload-to-telegram ]
uses: ./.github/workflows/github-cleanup.yml
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}