Skip to content

Commit

Permalink
Add write permission for release action
Browse files Browse the repository at this point in the history
  • Loading branch information
t895 committed Sep 16, 2024
1 parent 0e2de0d commit 7ad39e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
publish:
if: ${{ github.repository == 't895/DNSNet' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -30,6 +32,7 @@ jobs:
echo "${{secrets.STORE_FILE}}" | base64 --decode > ${HOME}/keyfile.jks
export STORE_FILE_PATH=${HOME}/keyfile.jks
./gradlew :app:assembleRelease
- uses: ncipollo/release-action@v1
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "*.apk,*.aab"

0 comments on commit 7ad39e1

Please sign in to comment.