Skip to content

Commit 56bee6a

Browse files
committed
fix step cannot read file generate from previous step
1 parent 0a9373a commit 56bee6a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/android-release-ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ jobs:
1010
build:
1111
name: Build, Sign & Release
1212
runs-on: ubuntu-latest
13+
permissions: write-all
1314
steps:
1415
- name: Checkout project
1516
uses: actions/checkout@v4.2.2
16-
with:
17-
token: ${{ secrets.GITHUB_TOKEN }}
1817

1918
- name: set up JDK 17
2019
uses: actions/setup-java@v4.7.1
@@ -51,8 +50,6 @@ jobs:
5150
- name: Release to GitHub
5251
uses: svenstaro/upload-release-action@2.11.1
5352
with:
54-
repo_token: ${{ secrets.GITHUB_TOKEN }}
5553
file: ${{steps.sign_app.outputs.signedFile}}
56-
asset_name: PlayHex-${{ github.ref_name }}-Signed.apk
57-
tag: ${{ github.ref }}
54+
asset_name: PlayHex-${{ github.ref_name }}-signed.apk
5855
overwrite: true

0 commit comments

Comments
 (0)