Skip to content

Commit 709eebe

Browse files
committed
Use new upload action
1 parent b50f3b6 commit 709eebe

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/windows.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,10 @@ 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+
uses: svenstaro/upload-release-action@2.9.0
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: |

0 commit comments

Comments
 (0)