-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,12 @@ name: Master Build and Test Workflow | |
on: | ||
push: | ||
branches: | ||
- master | ||
- master-release-hotfix | ||
jobs: | ||
master-build-and-test: | ||
permissions: | ||
contents: 'read' | ||
id-token: 'write' | ||
environment: release_env | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -45,13 +48,14 @@ jobs: | |
- name: Assemble debug and androidTest APKs | ||
run: ./gradlew assembleDebug assembleAndroidTest | ||
|
||
- name: Setup gcloud | ||
uses: google-github-actions/setup-gcloud@master | ||
- id: 'auth' | ||
uses: 'google-github-actions/[email protected]' | ||
with: | ||
project_id: ${{ secrets.GCP_PROJECT_ID }} | ||
service_account_email: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }} | ||
service_account_key: ${{ secrets.GCP_SA_KEY }} | ||
export_default_credentials: true | ||
credentials_json: ${{ secrets.RELEASE_SERVICE_ACCOUNT_JSON }} | ||
|
||
|
||
- name: Setup gcloud | ||
uses: google-github-actions/[email protected] | ||
|
||
- name: Run firebase tests on gcloud and pull coverage data | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Master Check Run Completed Workflow | ||
on: | ||
workflow_dispatch: | ||
check_run: | ||
types: [completed] | ||
branches: | ||
|
@@ -55,7 +56,7 @@ jobs: | |
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 12 | ||
node-version: 16 | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/[email protected] | ||
|