Skip to content

Commit

Permalink
Merge pull request #35 from rage/ci
Browse files Browse the repository at this point in the history
Fix gcloud setup on mac and windows
  • Loading branch information
Heliozoa authored Sep 9, 2024
2 parents 66bf3e2 + 6427630 commit b50f3b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: google-github-actions/setup-gcloud@v2
- id: "auth"
uses: google-github-actions/auth@v2
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
credentials_json: ${{ secrets.GCP_SA_KEY }}
- name: "Set up Cloud SDK"
uses: google-github-actions/setup-gcloud@v2

- name: Cargo build
run: cargo build -p tmc --release --verbose
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: google-github-actions/setup-gcloud@v2
- id: "auth"
uses: google-github-actions/auth@v2
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
credentials_json: ${{ secrets.GCP_SA_KEY }}
- name: "Set up Cloud SDK"
uses: google-github-actions/setup-gcloud@v2

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

0 comments on commit b50f3b6

Please sign in to comment.