Skip to content

Commit 9522587

Browse files
committed
Fix use of deprecated items in CI
1 parent 276e2f5 commit 9522587

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070
7171
- name: Get the version
7272
id: get_version
73-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
73+
shell: bash
74+
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
7475

7576
- name: Deploy
7677
run: gsutil cp target/${{ matrix.target }}/release/tmc gs://${{ secrets.GCP_BUCKET }}/tmc-cli-rust/tmc-cli-rust-${{ matrix.target }}-${{ steps.get_version.outputs.VERSION }}

.github/workflows/macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: google-github-actions/setup-gcloud@v2
4646
with:
4747
project_id: ${{ secrets.GCP_PROJECT_ID }}
48-
service_account_key: ${{ secrets.GCP_SA_KEY }}
48+
credentials_json: ${{ secrets.GCP_SA_KEY }}
4949

5050
- name: Cargo build
5151
run: cargo build -p tmc --release --verbose
@@ -55,7 +55,8 @@ jobs:
5555

5656
- name: Get the version
5757
id: get_version
58-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
58+
shell: bash
59+
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
5960

6061
- name: Deploy
6162
run: gsutil cp target/release/tmc gs://${{ secrets.GCP_BUCKET }}/tmc-cli-rust/tmc-cli-rust-x86_64-apple-darwin-${{ steps.get_version.outputs.VERSION }}

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- uses: google-github-actions/setup-gcloud@v2
5252
with:
5353
project_id: ${{ secrets.GCP_PROJECT_ID }}
54-
service_account_key: ${{ secrets.GCP_SA_KEY }}
54+
credentials_json: ${{ secrets.GCP_SA_KEY }}
5555

5656
- name: Enable long paths for git
5757
run: git config --system core.longpaths true # allow long paths from git deps
@@ -65,7 +65,7 @@ jobs:
6565
- name: Get the version
6666
id: get_version
6767
shell: bash
68-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
68+
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
6969

7070
- name: Create msi installer
7171
run: |

0 commit comments

Comments
 (0)