Skip to content

Commit

Permalink
FEAT: implement build asset uplaod
Browse files Browse the repository at this point in the history
  • Loading branch information
scottenock committed Sep 18, 2024
1 parent 5907352 commit 4cb20ec
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20.x"
- uses: actions/setup-java@v4
- name: Use Java
uses: actions/setup-java@v4
with:
distribution: "corretto"
java-version: "17"
Expand All @@ -28,12 +29,14 @@ jobs:
with:
fileName: "keystore.jks"
encodedString: ${{ secrets.KEYSTORE }}
- name: list files
run: |
ls ./
- name: build APK
run: |
cd cordova
npm i -D cordova
npx cordova platform add android@13
npx cordova build android --release -- --keystore="${{ steps.decode_keystore.outputs.filePath }}" --storePassword="${{ secrets.SIGNING_STORE_PASSWORD }}" --alias="${{ secrets.SIGNING_KEY_ALIAS }}" --password="${{ secrets.SIGNING_KEY_PASSWORD }}"
- name: Upload Release Build
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: cordova/platforms/android/app/build/outputs/bundle/release/app-release.aab

0 comments on commit 4cb20ec

Please sign in to comment.