From 66ec01f0424459fd7845f2dc67741f6a6814f6f2 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 27 Oct 2026 23:56:13 +0100 Subject: [PATCH] Fixed google-services.json not being copied --- .gitea/workflows/apk-host.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/apk-host.yaml b/.gitea/workflows/apk-host.yaml index 3bc9f2e..8275aca 100644 --- a/.gitea/workflows/apk-host.yaml +++ b/.gitea/workflows/apk-host.yaml @@ -16,14 +16,15 @@ jobs: - uses: actions/checkout@v4 - name: Verify toolchain - run: node -v && npm -v && java -version && sdkmanager --version + run: node -v && npm -v && java -version && javac -version && sdkmanager --version - name: Add google-services.json run: | echo "${{ secrets.GOOGLE_SERVICES_JSON_B64 }}" | base64 -d > google-services.json - git config user.email "ci@local" && git config user.name "ci" - git add -f google-services.json - git commit -m "ci: add google-services.json" + test -s google-services.json + sed -i '/google-services\.json/d' .gitignore + git add -A + git -c user.name=ci -c user.email=ci@local commit -m "ci: add google-services.json" - run: npm ci