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
steps:
- uses: actions/checkout@v3.1.0
- name: Run tests
# Run the tests
- name: 'Run tests'
run: ./scripts/test.sh

View File

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