diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c207a45..300c901 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,7 +9,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install fmt, clippy and nightly for the fmt run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 370f5ad..5d2997e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -60,6 +60,21 @@ jobs: shell: bash run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + - name: Create msi installer + run: | + dotnet tool install --global wix + cargo install cargo-wix + cargo wix --output installer.msi + - name: Upload msi artifact + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ github.token }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ./installer.msi + asset_name: tmc-cli-rust-${{ steps.get_version.outputs.VERSION }}.msi + asset_content_type: application/octet-stream + - name: Deploy run: | $env:python_version=$(python -c 'import sys; print(\".\".join(map(str, sys.version_info[:3])))') diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index ea64656..c7d7845 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,7 +1,7 @@ name: tmc-cli-rust title: TestMyCode CLI base: core20 -version: 1.1.2 +version: 1.1.3 issues: https://github.com/rage/tmc-cli-rust/issues source-code: https://github.com/rage/tmc-cli-rust.git website: https://tmc.mooc.fi/