build: updated gcp configuration for buildjet runner
@@ -17,6 +17,8 @@ on:
secrets:
CACHIX_AUTH_TOKEN:
required: false
+ GCP_CREDENTIALS:
+ required: false
GCS_SERVICE_ACCOUNT_KEY:
required: false
GCS_PROJECT:
@@ -129,13 +131,14 @@ jobs:
name: version-string
path: version-string
- - uses: google-github-actions/setup-gcloud@v0.2.0
+ - uses: google-github-actions/auth@v1
+ with:
+ credentials_json: ${{ secrets.GCP_CREDENTIALS }}
+
+ - uses: google-github-actions/setup-gcloud@v1
if: inputs.upload
with:
- version: '290.0.1'
- service_account_key: ${{ secrets.GCS_SERVICE_ACCOUNT_KEY }}
project_id: ${{ secrets.GCS_PROJECT }}
- export_default_credentials: true
- name: upload binary to bootstrap.urbit.org
if: inputs.upload
