mirror of
https://github.com/nushell/nushell
synced 2024-12-28 22:13:10 +00:00
parent
bb08a221e2
commit
0e8a239ae1
1 changed files with 23 additions and 0 deletions
23
.github/workflows/release.yml
vendored
23
.github/workflows/release.yml
vendored
|
@ -86,11 +86,34 @@ jobs:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
|
- name: Add cargo-wix subcommand
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: install
|
||||||
|
args: cargo-wix
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --all --features=stable
|
args: --release --all --features=stable
|
||||||
|
- name: Create msi with wix
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: wix
|
||||||
|
args: --no-build --output target\wix\nushell-windows.msi
|
||||||
|
- name: Create zip of binaries
|
||||||
|
run: powershell Compress-Archive nushell-windows.zip
|
||||||
|
working-directory: ./target/release
|
||||||
|
- name: Upload installer
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: windows-installer
|
||||||
|
path: target/wix/nushell-windows.msi
|
||||||
|
- name: Upload zip
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: windows-zip
|
||||||
|
path: target/release/nushell-windows.zip
|
||||||
- name: Create output directory
|
- name: Create output directory
|
||||||
run: mkdir output
|
run: mkdir output
|
||||||
- name: Copy files to output
|
- name: Copy files to output
|
||||||
|
|
Loading…
Reference in a new issue