forked from extern/nushell
Update release.yml
This commit is contained in:
parent
60ed40f8bd
commit
ad5e485594
37
.github/workflows/release.yml
vendored
37
.github/workflows/release.yml
vendored
@ -116,9 +116,6 @@ 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:
|
||||||
@ -128,7 +125,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: windows-zip
|
name: windows-zip
|
||||||
path: output\nushell-windows.zip
|
path: output\*
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Publish Release
|
name: Publish Release
|
||||||
@ -208,11 +205,6 @@ jobs:
|
|||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
- name: Create Windows Directory
|
- name: Create Windows Directory
|
||||||
run: mkdir -p ${{ steps.info.outputs.windowsdir }}/${{ steps.info.outputs.innerdir }}
|
run: mkdir -p ${{ steps.info.outputs.windowsdir }}/${{ steps.info.outputs.innerdir }}
|
||||||
- name: Download Windows installer
|
|
||||||
uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: windows-installer
|
|
||||||
path: ${{ steps.info.outputs.windowsdir }}/${{ steps.info.outputs.innerdir }}
|
|
||||||
- name: Download Windows zip
|
- name: Download Windows zip
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -221,21 +213,28 @@ jobs:
|
|||||||
# TODO: Remove Show
|
# TODO: Remove Show
|
||||||
- name: Show Windows Artifacts
|
- name: Show Windows Artifacts
|
||||||
run: ls -la ${{ steps.info.outputs.windowsdir }}/${{ steps.info.outputs.innerdir }}
|
run: ls -la ${{ steps.info.outputs.windowsdir }}/${{ steps.info.outputs.innerdir }}
|
||||||
- name: Upload Windows installer
|
- name: Create macOS Archive
|
||||||
uses: actions/upload-release-asset@v1
|
run: zip -r ${{ steps.info.outputs.windowsdir }}.zip ${{ steps.info.outputs.windowsdir }}
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: .\target\wix\nushell-windows.msi
|
|
||||||
asset_name: ${{ steps.info.outputs.windowsdir }}.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
|
||||||
env:
|
env:
|
||||||
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: .\output\nushell-windows.zip
|
asset_path: ./${{ steps.info.outputs.macosdir }}.zip
|
||||||
asset_name: ${{ steps.info.outputs.windowsdir }}.zip
|
asset_name: ${{ steps.info.outputs.windowsdir }}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
- name: Download Windows installer
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: windows-installer
|
||||||
|
path: ./
|
||||||
|
- 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: ./nushell-windows.msi
|
||||||
|
asset_name: ${{ steps.info.outputs.windowsdir }}.msi
|
||||||
|
asset_content_type: applictaion/x-msi
|
||||||
|
Loading…
Reference in New Issue
Block a user