From 79b966486a5c4355408b74a01597ef9648af1492 Mon Sep 17 00:00:00 2001 From: stewartbryson Date: Fri, 12 Jan 2024 15:54:10 -0500 Subject: [PATCH] Upgraded google auth action. --- .github/workflows/gradle-pr.yml | 4 ++-- .github/workflows/gradle-release.yml | 2 +- .gitignore | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-pr.yml b/.github/workflows/gradle-pr.yml index 68022f3..be3c8fc 100644 --- a/.github/workflows/gradle-pr.yml +++ b/.github/workflows/gradle-pr.yml @@ -54,9 +54,9 @@ jobs: - name: Authenticate to Google Cloud id: google-auth - uses: 'google-github-actions/auth@v0' + uses: google-github-actions/auth@v2 with: - credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' + credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }} - name: Gradle build and test id: gradle-build diff --git a/.github/workflows/gradle-release.yml b/.github/workflows/gradle-release.yml index a9fdc43..be2333d 100644 --- a/.github/workflows/gradle-release.yml +++ b/.github/workflows/gradle-release.yml @@ -39,7 +39,7 @@ jobs: - name: Authenticate to Google Cloud id: google-auth - uses: google-github-actions/auth@v0 + uses: google-github-actions/auth@v2 with: credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }} diff --git a/.gitignore b/.gitignore index 5038f40..cb402dc 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,6 @@ bin/ .factorypath .vscode/ .java-version + +# Ignore google auth files +gha-creds-*.json