diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1d134a5f7..13cde4ce35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,16 +116,19 @@ jobs: with: command: wix args: --no-build --nocapture --output target\wix\nushell-windows.msi + - name: Create zip of binaries + run: powershell Compress-Archive nu*.exe nushell-windows.zip + working-directory: .\output - name: Upload installer uses: actions/upload-artifact@v2 with: name: windows-installer path: target\wix\nushell-windows.msi - - name: Upload artifact + - name: Upload zip uses: actions/upload-artifact@v2 with: name: windows - path: output\* + path: output\nushell-windows.zip release: name: Publish Release @@ -235,8 +238,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./release/nushell-windows.msi - asset_name: nushell-${{ steps.release_info.outputs.version }}-windows-x86_64.msi + asset_path: .\target\wix\nushell-windows.msi + asset_name: ${{ steps.info.outputs.windowsdir }}.msi asset_content_type: applictaion/x-msi - name: Upload Windows zip uses: actions/upload-release-asset@v1 @@ -244,6 +247,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./release/nushell-windows.zip - asset_name: nushell-${{ steps.release_info.outputs.version }}-windows.zip + asset_path: .\output\nushell-windows.zip + asset_name: ${{ steps.info.outputs.windowsdir }}.zip asset_content_type: application/zip