Skip to content

Commit b50f3b6

Browse files
authored
Merge pull request #35 from rage/ci
Fix gcloud setup on mac and windows
2 parents 66bf3e2 + 6427630 commit b50f3b6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/macos.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v4
4444

45-
- uses: google-github-actions/setup-gcloud@v2
45+
- id: "auth"
46+
uses: google-github-actions/auth@v2
4647
with:
4748
project_id: ${{ secrets.GCP_PROJECT_ID }}
4849
credentials_json: ${{ secrets.GCP_SA_KEY }}
50+
- name: "Set up Cloud SDK"
51+
uses: google-github-actions/setup-gcloud@v2
4952

5053
- name: Cargo build
5154
run: cargo build -p tmc --release --verbose

.github/workflows/windows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,13 @@ jobs:
4848
steps:
4949
- uses: actions/checkout@v4
5050

51-
- uses: google-github-actions/setup-gcloud@v2
51+
- id: "auth"
52+
uses: google-github-actions/auth@v2
5253
with:
5354
project_id: ${{ secrets.GCP_PROJECT_ID }}
5455
credentials_json: ${{ secrets.GCP_SA_KEY }}
56+
- name: "Set up Cloud SDK"
57+
uses: google-github-actions/setup-gcloud@v2
5558

5659
- name: Enable long paths for git
5760
run: git config --system core.longpaths true # allow long paths from git deps

0 commit comments

Comments
 (0)