diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c4818556e..c9d8596a5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,24 +96,6 @@ jobs: with: command: build args: --release --all --features=stable - - name: Create msi with wix - uses: actions-rs/cargo@v1 - with: - command: wix - args: --no-build --nocapture --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 @@ -132,6 +114,25 @@ jobs: with: name: windows path: output/* + # moved this stuff down to create wix after we download less + - name: Create msi with wix + uses: actions-rs/cargo@v1 + with: + command: wix + args: --no-build --nocapture --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 release: name: Publish Release