mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 00:50:03 +01:00
update to make closer to volta's (#2058)
This commit is contained in:
parent
2c88b2fae7
commit
733f93e673
29
.github/workflows/release.yml
vendored
29
.github/workflows/release.yml
vendored
@ -121,7 +121,7 @@ jobs:
|
||||
command: wix
|
||||
args: --no-build --nocapture --output target\wix\nushell-windows.msi
|
||||
- name: Create zip of binaries
|
||||
run: powershell Compress-Archive nushell-windows.zip
|
||||
run: powershell Compress-Archive nu*.exe nushell-windows.zip
|
||||
working-directory: ./target/release
|
||||
- name: Upload installer
|
||||
uses: actions/upload-artifact@v2
|
||||
@ -212,10 +212,15 @@ jobs:
|
||||
asset_content_type: application/zip
|
||||
- name: Create Windows Directory
|
||||
run: mkdir -p ${{ steps.info.outputs.windowsdir }}/${{ steps.info.outputs.innerdir }}
|
||||
- name: Download Windows Artifacts
|
||||
- name: Download Windows installer
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: windows
|
||||
name: windows-installer
|
||||
path: ${{ steps.info.outputs.windowsdir }}/${{ steps.info.outputs.innerdir }}
|
||||
- name: Download Windows zip
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: windows-zip
|
||||
path: ${{ steps.info.outputs.windowsdir }}/${{ steps.info.outputs.innerdir }}
|
||||
# TODO: Remove Show
|
||||
- name: Show Windows Artifacts
|
||||
@ -231,3 +236,21 @@ jobs:
|
||||
asset_path: ./${{ steps.info.outputs.windowsdir }}.zip
|
||||
asset_name: ${{ steps.info.outputs.windowsdir }}.zip
|
||||
asset_content_type: application/zip
|
||||
- name: Upload Windows installer
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
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_content_type: applictaion/x-msi
|
||||
- name: Upload Windows zip
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
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_content_type: application/zip
|
||||
|
Loading…
Reference in New Issue
Block a user