Skip to content

Commit

Permalink
[ci] Added google-github-actions/auth@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed May 10, 2024
1 parent 164cae2 commit 32751ef
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,16 @@ jobs:
name: Packages
path: "${{ env.DOWNLOADS_DIR }}/${{ env.START_TIME }}"

- name: Setup Google Cloud
- name: Google Cloud Auth
uses: 'google-github-actions/auth@v2'
with:
project_id: ${{ secrets.GCS_PROJECT_ID }}
credentials_json: ${{ secrets.GCS_DOWNLOADS_SERVICE_ACCOUNT_JSON }}

- name: Google Cloud Setup
uses: google-github-actions/setup-gcloud@v2
with:
service_account_key: ${{ secrets.GCS_DOWNLOADS_SERVICE_ACCOUNT_JSON }}
project_id: ${{ secrets.GCS_PROJECT_ID }}
export_default_credentials: true

- name: Upload compiled packages to downloads.openwisp.io
if: ${{ github.event_name=='push' }}
Expand Down

0 comments on commit 32751ef

Please sign in to comment.