Skip to content

Commit

Permalink
Fix Github action issue
Browse files Browse the repository at this point in the history
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
  • Loading branch information
ywk253100 committed Oct 16, 2024
1 parent fe14fb2 commit 7fb1760
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Main CI

env:
CLOUDSDK_PYTHON: python3

on:
push:
branches:
- 'main'
- 'release-**'
- 'yinw-test'
tags:
- '*'

Expand All @@ -20,10 +24,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
# Fix issue of setup-gcloud
- run: |
sudo apt-get install python2.7
export CLOUDSDK_PYTHON="/usr/bin/python2"
- id: 'auth'
uses: google-github-actions/auth@v2
with:
Expand Down

0 comments on commit 7fb1760

Please sign in to comment.