1616 test :
1717 runs-on : windows-latest
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v4.1.7
2020
2121 - name : Enable long paths for git
2222 run : git config --system core.longpaths true # allow long paths from git deps
@@ -46,15 +46,15 @@ jobs:
4646 matrix :
4747 target : [i686-pc-windows-msvc, x86_64-pc-windows-msvc]
4848 steps :
49- - uses : actions/checkout@v4
49+ - uses : actions/checkout@v4.1.7
5050
5151 - id : " auth"
52- uses : google-github-actions/auth@v2
52+ uses : google-github-actions/auth@v2.1.5
5353 with :
5454 project_id : ${{ secrets.GCP_PROJECT_ID }}
5555 credentials_json : ${{ secrets.GCP_SA_KEY }}
5656 - name : " Set up Cloud SDK"
57- uses : google-github-actions/setup-gcloud@v2
57+ uses : google-github-actions/setup-gcloud@v2.1.1
5858
5959 - name : Enable long paths for git
6060 run : git config --system core.longpaths true # allow long paths from git deps
@@ -76,17 +76,13 @@ jobs:
7676 cargo install cargo-wix
7777 cargo wix --output installer.msi
7878 - name : Upload msi artifact
79- uses : actions/upload-release-asset@v1
80- env :
81- GITHUB_TOKEN : ${{ github.token }}
79+ 8280 with :
83- upload_url : ${{ github.event.release.upload_url }}
84- asset_path : ./installer.msi
85- asset_name : tmc-cli-rust-${{ steps.get_version.outputs.VERSION }}.msi
86- asset_content_type : application/octet-stream
81+ file : " ./installer.msi"
82+ asset_name : tmc-cli-rust-$tag.msi
8783
8884 - name : Deploy
8985 run : |
90- $env:python_version=$(python -c 'import sys; print(\".\ ".join(map(str, sys.version_info[:3])))')
86+ $env:python_version=$(python -c 'import sys; print(". ".join(map(str, sys.version_info[:3])))')
9187 $env:CLOUDSDK_PYTHON="C:\hostedtoolcache\windows\Python\$env:python_version\x64\python"
9288 gsutil cp target/${{ matrix.target }}/release/tmc.exe gs://${{ secrets.GCP_BUCKET }}/tmc-cli-rust/tmc-cli-rust-${{ matrix.target }}-${{ steps.get_version.outputs.VERSION }}.exe
0 commit comments