Experiment with specific runner per OS
This commit is contained in:
@@ -15,12 +15,14 @@ jobs:
|
|||||||
name: Build app
|
name: Build app
|
||||||
needs:
|
needs:
|
||||||
- analyze-test
|
- analyze-test
|
||||||
runs-on: macos-latest
|
runs-on: ${{ matrix.runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
include:
|
||||||
- android
|
- os: android
|
||||||
- ios
|
runner: ubuntu-latest
|
||||||
|
- os: ios
|
||||||
|
runner: macos-latest
|
||||||
environment: dev
|
environment: dev
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -44,8 +46,8 @@ jobs:
|
|||||||
PLAY_STORE_KEY_INFO_BASE64: ${{ secrets.PLAY_STORE_KEY_INFO_BASE64 }}
|
PLAY_STORE_KEY_INFO_BASE64: ${{ secrets.PLAY_STORE_KEY_INFO_BASE64 }}
|
||||||
run: |
|
run: |
|
||||||
# echo "$GOOGLE_SERVICES_JSON" > app/google-services.json
|
# echo "$GOOGLE_SERVICES_JSON" > app/google-services.json
|
||||||
echo "$PLAY_STORE_UPLOAD_KEY_BASE64" | base64 --decode --output app/keystore.jks
|
echo "$PLAY_STORE_UPLOAD_KEY_BASE64" | base64 --decode > app/keystore.jks
|
||||||
echo "$PLAY_STORE_KEY_INFO_BASE64" | base64 --decode --output key.properties
|
echo "$PLAY_STORE_KEY_INFO_BASE64" | base64 --decode > key.properties
|
||||||
working-directory: ${{ matrix.os }}
|
working-directory: ${{ matrix.os }}
|
||||||
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
|
|||||||
@@ -15,12 +15,14 @@ jobs:
|
|||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
needs:
|
needs:
|
||||||
- analyze-test
|
- analyze-test
|
||||||
runs-on: macos-latest
|
runs-on: ${{ matrix.runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
include:
|
||||||
- android
|
- os: android
|
||||||
- ios
|
runner: ubuntu-latest
|
||||||
|
- os: ios
|
||||||
|
runner: macos-latest
|
||||||
environment: prod
|
environment: prod
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -42,8 +44,8 @@ jobs:
|
|||||||
PLAY_STORE_UPLOAD_KEY_BASE64: ${{ secrets.PLAY_STORE_UPLOAD_KEY_BASE64 }}
|
PLAY_STORE_UPLOAD_KEY_BASE64: ${{ secrets.PLAY_STORE_UPLOAD_KEY_BASE64 }}
|
||||||
PLAY_STORE_KEY_INFO_BASE64: ${{ secrets.PLAY_STORE_KEY_INFO_BASE64 }}
|
PLAY_STORE_KEY_INFO_BASE64: ${{ secrets.PLAY_STORE_KEY_INFO_BASE64 }}
|
||||||
run: |
|
run: |
|
||||||
echo "$PLAY_STORE_UPLOAD_KEY_BASE64" | base64 --decode --output app/keystore.jks
|
echo "$PLAY_STORE_UPLOAD_KEY_BASE64" | base64 --decode > app/keystore.jks
|
||||||
echo "$PLAY_STORE_KEY_INFO_BASE64" | base64 --decode --output key.properties
|
echo "$PLAY_STORE_KEY_INFO_BASE64" | base64 --decode > key.properties
|
||||||
working-directory: ${{ matrix.os }}
|
working-directory: ${{ matrix.os }}
|
||||||
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
|
|||||||
Reference in New Issue
Block a user