mirror of
https://github.com/nushell/nushell.git
synced 2024-12-25 16:39:08 +01:00
Update release.yml
This commit is contained in:
parent
3b2a87b6d4
commit
d18bc78e7c
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user