Skip to content

Commit

Permalink
why u not use secrets.GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
8MiYile committed Apr 12, 2024
1 parent 61f1fa5 commit f393756
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Delete old files
uses: 8Mi-Tech/delete-release-assets-action@main
with:
github_token: "${{ secrets.TOKEN }}"
github_token: "${{ secrets.GITHUB_TOKEN }}"
tag: CI-Build-${{github.ref_name}}
deleteOnlyFromDrafts: false

Expand All @@ -114,12 +114,12 @@ jobs:
with:
tag_name: CI-Build-${{github.ref_name}}
env:
GITHUB_TOKEN: "${{ secrets.TOKEN }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: CI-Release
uses: softprops/action-gh-release@v1
with:
token: "${{ secrets.TOKEN }}"
token: "${{ secrets.GITHUB_TOKEN }}"
name: FoldCraftLauncer CI-Build
tag_name: CI-Build-${{github.ref_name}}
prerelease: true
Expand All @@ -131,6 +131,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
token: "${{ secrets.TOKEN }}"
token: "${{ secrets.GITHUB_TOKEN }}"
files: |
FCL/build/outputs/apk/release/*.apk

0 comments on commit f393756

Please sign in to comment.