update workflow
Some checks failed
Release Build / build-docker (push) Failing after 5s
Release Build / build-android-and-release (push) Has been skipped

This commit is contained in:
Rene Kievits
2025-12-24 07:56:57 +01:00
parent 0b6146755d
commit afca039f0f

View File

@@ -14,13 +14,13 @@ jobs:
uses: actions/checkout@v4
- name: Build and Push Server
run: |
cd zen_kanji_js/server
cd server
docker build -t ${{ vars.REGISTRY }}/zen-kanji-server:latest .
docker push ${{ vars.REGISTRY }}/zen-kanji-server:latest
- name: Build and Push Client
run: |
cd zen_kanji_js/client
cd client
docker build -t ${{ vars.REGISTRY }}/zen-kanji-client:latest .
docker push ${{ vars.REGISTRY }}/zen-kanji-client:latest
@@ -43,7 +43,7 @@ jobs:
distribution: "temurin"
- name: Install and Build Web App
working-directory: zen_kanji_js/client
working-directory: client
env:
VITE_API_URL: ${{ vars.VITE_API_URL }}
run: |
@@ -51,16 +51,16 @@ jobs:
npm run build:android
- name: Sync Capacitor to Android
working-directory: zen_kanji_js/client
working-directory: client
run: npx cap sync android
- name: Decode Keystore
run: |
cd zen_kanji_js/client/android/app
cd client/android/app
echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 -d > my-release-key.jks
- name: Build Release APK
working-directory: zen_kanji_js/client/android
working-directory: client/android
env:
RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }}
RELEASE_KEY_ALIAS: ${{ secrets.RELEASE_KEY_ALIAS }}
@@ -80,5 +80,5 @@ jobs:
- Server: `${{ vars.REGISTRY }}/${{ vars.SERVER_IMAGE }}:latest`
- Client: `${{ vars.REGISTRY }}/${{ vars.CLIENT_IMAGE }}:latest`
files: |
zen_kanji_js/client/android/app/build/outputs/apk/release/*.apk
client/android/app/build/outputs/apk/release/*.apk
api_key: ${{ secrets.GITHUB_TOKEN }}