fix: bump publish action

This commit is contained in:
Andrejus
2023-02-12 18:54:16 +00:00
parent 364db9b424
commit f85a257b98
3 changed files with 16 additions and 8 deletions

View File

@@ -7,5 +7,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3.1.0 - uses: actions/checkout@v3.1.0
- name: Run tests
# Run the tests
- name: 'Run tests'
run: ./scripts/test.sh run: ./scripts/test.sh

View File

@@ -10,11 +10,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3.1.0 - uses: actions/checkout@v3.1.0
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v1.1.0 # Set up the gcloud auth credentials
- name: 'Set up auth'
uses: 'google-github-actions/auth@v1'
with: with:
project_id: ${{ secrets.GCP_PROJECT_ID }} credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
service_account_key: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
export_default_credentials: true # Set up the gcloud CLI
- name: Publish to CDN - name: 'Set up Cloud SDK'
run: ./scripts/publish.sh uses: google-github-actions/setup-gcloud@v1.1.0
# Publish the setup script
- name: 'Run publish script'
run: scripts/publish