mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 17:09:06 +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:
|
with:
|
||||||
command: wix
|
command: wix
|
||||||
args: --no-build --nocapture --output target\wix\nushell-windows.msi
|
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
|
- name: Upload installer
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: windows-installer
|
name: windows-installer
|
||||||
path: target\wix\nushell-windows.msi
|
path: target\wix\nushell-windows.msi
|
||||||
- name: Upload artifact
|
- name: Upload zip
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: windows
|
name: windows
|
||||||
path: output\*
|
path: output\nushell-windows.zip
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Publish Release
|
name: Publish Release
|
||||||
@ -235,8 +238,8 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./release/nushell-windows.msi
|
asset_path: .\target\wix\nushell-windows.msi
|
||||||
asset_name: nushell-${{ steps.release_info.outputs.version }}-windows-x86_64.msi
|
asset_name: ${{ steps.info.outputs.windowsdir }}.msi
|
||||||
asset_content_type: applictaion/x-msi
|
asset_content_type: applictaion/x-msi
|
||||||
- name: Upload Windows zip
|
- name: Upload Windows zip
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
@ -244,6 +247,6 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./release/nushell-windows.zip
|
asset_path: .\output\nushell-windows.zip
|
||||||
asset_name: nushell-${{ steps.release_info.outputs.version }}-windows.zip
|
asset_name: ${{ steps.info.outputs.windowsdir }}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
Loading…
Reference in New Issue
Block a user