Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-jiao committed Feb 29, 2024
1 parent c870507 commit 68f3052
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
path: Renamer-x86_64.AppImage
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '12.x'
- name: decode key base64
run: echo $KEYSTORE_BASE64 | base64 -di > ./android/app/renamer.jks
Expand All @@ -48,6 +49,7 @@ jobs:
flutter build apk --release
flutter build apk --release --split-per-abi
flutter build appbundle --release
mv build/app/outputs/bundle/release/app-release.aab build/app/outputs/flutter-apk/
env:
KEYSTORE: renamer.jks
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
Expand All @@ -57,7 +59,7 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: renamer-${{github.ref_name}}-${{ steps.vars.outputs.sha_short }}-android
path: build/app/outputs/apk/release
path: build/app/outputs/flutter-apk


build-and-release-windows:
Expand Down

0 comments on commit 68f3052

Please sign in to comment.