Skip to content

Commit

Permalink
build: add auth step to build (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
olavloite authored Jun 26, 2024
1 parent 627b45b commit 04b3a15
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ jobs:
- run: java -version
- name: Run unit tests
run: mvn test -B
- name: Auth
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}
- name: Setup GCloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_key: ${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}
export_default_credentials: true
- name: Run integration tests
run: ./gradlew --no-daemon integrationTest
env:
Expand Down

0 comments on commit 04b3a15

Please sign in to comment.