mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +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
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Add cargo-wix subcommand
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: install
|
||||
args: cargo-wix
|
||||
- name: Build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
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
|
||||
run: mkdir output
|
||||
- name: Copy files to output
|
||||
|
|
Loading…
Reference in a new issue