From 500bb546b353269c5691feca24c2e5d9bd259271 Mon Sep 17 00:00:00 2001 From: Neal Xu Date: Mon, 8 Jan 2024 18:57:37 +0800 Subject: [PATCH] Add write permission --- .github/workflows/build-release-android.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-release-android.yml b/.github/workflows/build-release-android.yml index ac3f2f65..2dd00c74 100644 --- a/.github/workflows/build-release-android.yml +++ b/.github/workflows/build-release-android.yml @@ -11,6 +11,10 @@ env: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_SECRET }} +permissions: + contents: write + + jobs: build: name: Build Android Release @@ -123,7 +127,7 @@ jobs: name: "Android Release ${{ steps.getversion.outputs.version }}" tag_name: "v${{ steps.getversion.outputs.version }}" generate_release_notes: true - files: ${{github.workspace}}/publish/android/tokencore/build/outputs/aar/tokencore-release.aar + files: ${{github.workspace}}/tokencore-${{ steps.getversion.outputs.version }}.aar - name: Send custom JSON data to Slack workflow id: slack