mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Upgrade Nu and script for release workflow (#11121)
Upgrade Nu and script for release workflow
This commit is contained in:
parent
a324a50bb7
commit
a7e8970383
3 changed files with 7 additions and 9 deletions
8
.github/workflows/nightly-build.yml
vendored
8
.github/workflows/nightly-build.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
uses: hustcer/setup-nu@v3.8
|
||||
if: github.repository == 'nushell/nightly'
|
||||
with:
|
||||
version: 0.86.0
|
||||
version: 0.87.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
@ -143,7 +143,7 @@ jobs:
|
|||
- name: Setup Nushell
|
||||
uses: hustcer/setup-nu@v3.8
|
||||
with:
|
||||
version: 0.86.0
|
||||
version: 0.87.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
@ -257,7 +257,7 @@ jobs:
|
|||
- name: Setup Nushell
|
||||
uses: hustcer/setup-nu@v3.8
|
||||
with:
|
||||
version: 0.86.0
|
||||
version: 0.87.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
@ -323,7 +323,7 @@ jobs:
|
|||
- name: Setup Nushell
|
||||
uses: hustcer/setup-nu@v3.8
|
||||
with:
|
||||
version: 0.86.0
|
||||
version: 0.87.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
4
.github/workflows/release-pkg.nu
vendored
4
.github/workflows/release-pkg.nu
vendored
|
@ -138,8 +138,6 @@ print $'(char nl)Copying release files...'; hr-line
|
|||
|
||||
> register ./nu_plugin_query" | save $'($dist)/README.txt' -f
|
||||
[LICENSE $executable] | each {|it| cp -rv $it $dist } | flatten
|
||||
# Sleep a few seconds to make sure the cp process finished successfully
|
||||
sleep 3sec
|
||||
|
||||
print $'(char nl)Check binary release version detail:'; hr-line
|
||||
let ver = if $os == 'windows-latest' {
|
||||
|
@ -148,7 +146,7 @@ let ver = if $os == 'windows-latest' {
|
|||
(do -i { ./output/nu -c 'version' }) | str join
|
||||
}
|
||||
if ($ver | str trim | is-empty) {
|
||||
print $'(ansi r)Incompatible nu binary...(ansi reset)'
|
||||
print $'(ansi r)Incompatible Nu binary: The binary cross compiled is not runnable on current arch...(ansi reset)'
|
||||
} else { print $ver }
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -87,7 +87,7 @@ jobs:
|
|||
- name: Setup Nushell
|
||||
uses: hustcer/setup-nu@v3.8
|
||||
with:
|
||||
version: 0.86.0
|
||||
version: 0.87.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
@ -178,7 +178,7 @@ jobs:
|
|||
- name: Setup Nushell
|
||||
uses: hustcer/setup-nu@v3.8
|
||||
with:
|
||||
version: 0.86.0
|
||||
version: 0.87.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue