Skip to content

Commit

Permalink
Merge pull request #499 from techcomrade/test_workload
Browse files Browse the repository at this point in the history
test(gha): workload
  • Loading branch information
thaidmfinnick authored Jul 23, 2024
2 parents ad1d206 + 16026dd commit de0a6f0
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/gcloud.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

name: Test GCloud
on: workflow_dispatch

permissions:
id-token: write
contents: read

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./mobile_app
steps:
- name: Checkout Github repo
uses: actions/checkout@v4

- name: Authen
id: auth
uses: google-github-actions/auth@v2
with:
project_id: fmecg-firebase-chat
workload_identity_provider: ${{ secrets.WORKLOAD_ID_PROVIDER }}
- name: Print
run: |
echo ${{ steps.auth.outputs.credentials_file_path }}
echo ${{ steps.auth.outputs.project_id }}
echo ${{ steps.auth.outputs.auth_token }}
echo ${{ steps.auth.outputs.access_token }}
# - name: Publish to Play Console
# uses: r0adkll/upload-google-play@v1
# with:
# serviceAccountJsonPlainText: ${{ secrets.GOOGLE_SERVICES_ACCOUNT_JSON }}
# # serviceAccountJson: ${{ steps.auth.outputs.credentials_file_path }}
# # serviceAccountJsonT: ${{ steps.auth.outputs.credentials_file_path }}
# packageName: vn.hust.electrospic
# releaseFiles: mobile_app/build/app/outputs/bundle/release/app-release.aab
# track: alpha
# status: completed

0 comments on commit de0a6f0

Please sign in to comment.