Skip to content

Commit

Permalink
feat: 署名キーを指定してビルドするようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
pantasystem committed Nov 24, 2023
1 parent 90c67a0 commit 0e5c009
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release2github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,15 @@ jobs:
- name: Calculate version code
run: echo "ORG_GRADLE_PROJECT_VERSION_CODE=$((${{ github.run_number }} + 3000))" >> $GITHUB_ENV
- name: build apk
run: ./gradlew assembleRelease
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
ALIAS: ${{ secrets.ALIAS }}
run: ./gradlew assembleRelease \
-Pandroid.injected.signing.store.file=$KEYSTORE_PATH \
-Pandroid.injected.signing.store.password=$KEYSTORE_PASSWORD \
-Pandroid.injected.signing.key.alias=$ALIAS \
-Pandroid.injected.signing.key.password=$KEY_PASSWORD
- name: release to github releases
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 0e5c009

Please sign in to comment.