diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 7b11d6e..b3564dd 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -20,6 +20,13 @@ jobs: distribution: 'adopt' java-version: 17 + - name: Decode secret properties + env: + SECRET_PROPERTIES_BASE64: ${{ secrets.SECRET_PROPERTIES }} + run: | + echo -n "$SECRET_PROPERTIES_BASE64" | base64 --decode > ${{ github.workspace }}/app/src/main/secret.properties + echo -n "$SECRET_PROPERTIES_BASE64" | base64 --decode > ${{ github.workspace }}/data/src/main/secret.properties + - name: Run with Gradle run: | ./gradlew clean diff --git a/.github/workflows/lint-checks.yml b/.github/workflows/lint-checks.yml index 4d4f6a7..2f25857 100644 --- a/.github/workflows/lint-checks.yml +++ b/.github/workflows/lint-checks.yml @@ -19,7 +19,14 @@ jobs: with: distribution: 'adopt' java-version: 17 - + + - name: Decode secret properties + env: + SECRET_PROPERTIES_BASE64: ${{ secrets.SECRET_PROPERTIES }} + run: | + echo -n "$SECRET_PROPERTIES_BASE64" | base64 --decode > ${{ github.workspace }}/app/src/main/secret.properties + echo -n "$SECRET_PROPERTIES_BASE64" | base64 --decode > ${{ github.workspace }}/data/src/main/secret.properties + - name: Run Lint run: ./gradlew lint continue-on-error: false