Commit 70e018b 1 parent 84f2f9d commit 70e018b Copy full SHA for 70e018b
File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,13 @@ jobs:
18
18
- name : Setup Google service account creds
19
19
id : setup-google
20
20
run : |
21
- echo "${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDS }}" > /tmp/gcp_key.json
22
- echo "GOOGLE_APPLICATION_CREDENTIALS_PATH=/tmp/gcp_key.json" >> $GITHUB_OUTPUT
21
+ echo "${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDS_JSON_BASE64 }}" | base64 -d > /tmp/gcp_key.json
23
22
- name : Run GoReleaser
24
23
uses : goreleaser/goreleaser-action@v6
25
24
with :
26
25
version : ' ~> v2'
27
26
args : release --clean
28
27
env :
29
28
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
- GOOGLE_APPLICATION_CREDENTIALS : ${{ steps.setup-google.outputs.GOOGLE_APPLICATION_CREDENTIALS_PATH }}
29
+ GOOGLE_APPLICATION_CREDENTIALS : " /tmp/gcp_key.json "
31
30
HOMEBREW_GITHUB_API_TOKEN : ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments