From 0e5c009a1298f17adf9298bffbb376d2d7c1a080 Mon Sep 17 00:00:00 2001 From: Yuichiro Kinoshita Date: Fri, 24 Nov 2023 17:16:55 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BD=B2=E5=90=8D=E3=82=AD=E3=83=BC?= =?UTF-8?q?=E3=82=92=E6=8C=87=E5=AE=9A=E3=81=97=E3=81=A6=E3=83=93=E3=83=AB?= =?UTF-8?q?=E3=83=89=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release2github.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release2github.yml b/.github/workflows/release2github.yml index ee4f240ec6..ec650848e5 100644 --- a/.github/workflows/release2github.yml +++ b/.github/workflows/release2github.yml @@ -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: