File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 70
70
71
71
- name : Get the version
72
72
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
74
75
75
76
- name : Deploy
76
77
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 }}
Original file line number Diff line number Diff line change 45
45
- uses : google-github-actions/setup-gcloud@v2
46
46
with :
47
47
project_id : ${{ secrets.GCP_PROJECT_ID }}
48
- service_account_key : ${{ secrets.GCP_SA_KEY }}
48
+ credentials_json : ${{ secrets.GCP_SA_KEY }}
49
49
50
50
- name : Cargo build
51
51
run : cargo build -p tmc --release --verbose
55
55
56
56
- name : Get the version
57
57
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
59
60
60
61
- name : Deploy
61
62
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 }}
Original file line number Diff line number Diff line change 51
51
- uses : google-github-actions/setup-gcloud@v2
52
52
with :
53
53
project_id : ${{ secrets.GCP_PROJECT_ID }}
54
- service_account_key : ${{ secrets.GCP_SA_KEY }}
54
+ credentials_json : ${{ secrets.GCP_SA_KEY }}
55
55
56
56
- name : Enable long paths for git
57
57
run : git config --system core.longpaths true # allow long paths from git deps
65
65
- name : Get the version
66
66
id : get_version
67
67
shell : bash
68
- run : echo ::set-output name= VERSION:: ${GITHUB_REF/refs\/tags\//}
68
+ run : echo " VERSION= ${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
69
69
70
70
- name : Create msi installer
71
71
run : |
You can’t perform that action at this time.
0 commit comments