use built in remove dir command #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Rust Build and MSI Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build with Cargo | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Build release | |
run: cargo build --release | |
- name: Install WiX | |
run: dotnet tool install --global wix | |
- name: Create MSI | |
run: wix build .\package.wxs -o SimpleFolderSyncer.msi -arch x64 | |
- name: Upload WiX Installer | |
uses: actions/upload-artifact@v4 | |
with: | |
path: SimpleFolderSyncer.msi | |