Update release.yml

This commit is contained in:
Jonathan Turner 2020-06-26 09:08:20 +12:00 committed by GitHub
parent 62c76be7ca
commit 3b2a87b6d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,8 @@ jobs:
args: --release --all --features=stable
- name: Create output directory
run: mkdir output
- name: Download Less Binary
run: Invoke-WebRequest -Uri "https://github.com/jftuga/less-Windows/releases/download/less-v562.1/less.exe" -OutFile "target\release\less.exe"
- name: Copy files to output
run: |
cp target\release\nu.exe output\
@ -105,10 +107,9 @@ jobs:
rm target\release\nu_plugin_stable_*.exe
cp target\release\nu_plugin_*.exe output\
cp README.build.txt output\README.txt
cp target\release\less.exe output\
# Note: If the version of `less.exe` needs to be changed, update this URL
# Similarly, if `less.exe` is checked into the repo, copy from the local path here
- name: Download Less Binary
run: Invoke-WebRequest -Uri "https://github.com/jftuga/less-Windows/releases/download/less-v562.1/less.exe" -OutFile "output\less.exe"
# moved this stuff down to create wix after we download less
- name: Create msi with wix
uses: actions-rs/cargo@v1