Skip to content

Commit

Permalink
new approach
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoncl committed Feb 8, 2024
1 parent 6e84feb commit 8778466
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ jobs:
env:
GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.ARTIFACT_REGISTRY_KEY_DEV }}
run: |
echo "$GOOGLE_APPLICATION_CREDENTIALS_JSON" | gcloud auth activate-service-account --key-file=-
gcloud auth activate-service-account --key-file=- <<< "$GOOGLE_APPLICATION_CREDENTIALS_JSON"
ACCESS_TOKEN=$(gcloud auth print-access-token)
echo "ACCESS_TOKEN=${ACCESS_TOKEN}" >> $GITHUB_ENV


- name: Publish package to Artifact Registry
run: |
Expand Down

0 comments on commit 8778466

Please sign in to comment.