diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 3f7db85d..90505bba 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -7,6 +7,11 @@ on: pull_request: branches: [ "main" ] +env: + KEY_ALIAS: ${{ secrets.KEY_ALIAS }} + KEY_PASS: ${{ secrets.KEY_PASS }} + KEY_STORE_PASS: ${{ secrets.KEY_STORE_PASS }} + jobs: build-android: runs-on: ubuntu-latest @@ -38,10 +43,6 @@ jobs: run: | cd android ./gradlew assembleRelease - env: - KEY_ALIAS: ${{ secrets.KEY_ALIAS }} - KEY_PASS: ${{ secrets.KEY_PASS }} - KEY_STORE_PASS: ${{ secrets.KEY_STORE_PASS }} - name: 'Check for non-FOSS libraries' run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13720ce0..5190e6d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,11 @@ on: tags: - "v*.*.*" +env: + KEY_ALIAS: ${{ secrets.KEY_ALIAS }} + KEY_PASS: ${{ secrets.KEY_PASS }} + KEY_STORE_PASS: ${{ secrets.KEY_STORE_PASS }} + jobs: android-build: uses: KoalaSat/nostros/.github/workflows/android-build.yml@main