fix: bump publish action
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|||||||
20
.github/workflows/publish.yml
vendored
20
.github/workflows/publish.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user