This commit is contained in:
parent
97d9259fab
commit
05484b342a
@ -13,6 +13,13 @@ jobs:
|
|||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: cache pub deps
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.pub-cache
|
||||||
|
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-pub-
|
||||||
|
|
||||||
- name: set up jdk
|
- name: set up jdk
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
@ -36,14 +43,6 @@ jobs:
|
|||||||
- name: build apk
|
- name: build apk
|
||||||
run: flutter build apk --release
|
run: flutter build apk --release
|
||||||
|
|
||||||
- name: sign app apk
|
|
||||||
run: |
|
|
||||||
mkdir -p ~/.android
|
|
||||||
echo "${{ secrets.SIGNING_KEY }}" | base64 -d > ~/.android/debug.keystore
|
|
||||||
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore ~/android/debug.keystore build/app/outputs/flutter-apk/app-release.apk ${{ secrets.ALIAS }}
|
|
||||||
env:
|
|
||||||
KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }}
|
|
||||||
|
|
||||||
- name: release-build
|
- name: release-build
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user