Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Aug 28, 2023
1 parent 78fcf8d commit 71768dc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/parse_catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ jobs:
uses: actions/download-artifact@v3
with:
name: csv-files
- name: "Authenticate to Google Cloud"
- name: Authenticate to Google Cloud
id: "auth"
uses: "google-github-actions/auth@v1"
uses: google-github-actions/auth@v1
with:
credentials_json: "${{ secrets.GCP_PUBLIC_CMIP6_SERVICE_ACCOUNT }}"
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'
- name: 'Upload csv files'
run: 'gcloud storage cp *.csv gs://cmip6/leap/testing/catalogs/'
- name: Set up Cloud SDK and upload csv files
uses: google-github-actions/setup-gcloud@v1
run: |
gcloud storage cp *.csv gs://cmip6/leap/testing/catalogs/
env:
GOOGLE_APPLICATION_CREDENTIALS: "${{ steps.auth.outputs.credentials_file_path }}"

0 comments on commit 71768dc

Please sign in to comment.