Update nushell version for release workflow (#6666)

This commit is contained in:
Justin Ma 2022-10-05 22:10:25 +08:00 committed by GitHub
parent 79ce13abef
commit e1d5180e6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -76,9 +76,9 @@ cp -v README.release.txt $'($dist)/README.txt'
$'(char nl)Check binary release version detail:'; hr-line $'(char nl)Check binary release version detail:'; hr-line
let ver = if $os == 'windows-latest' { let ver = if $os == 'windows-latest' {
(do -i { ./output/nu.exe -c 'version' }) | str collect (do -i { ./output/nu.exe -c 'version' }) | str join
} else { } else {
(do -i { ./output/nu -c 'version' }) | str collect (do -i { ./output/nu -c 'version' }) | str join
} }
if ($ver | str trim | is-empty) { if ($ver | str trim | is-empty) {
$'(ansi r)Incompatible nu binary...(ansi reset)' $'(ansi r)Incompatible nu binary...(ansi reset)'

View file

@ -72,7 +72,7 @@ jobs:
- name: Setup Nushell - name: Setup Nushell
uses: hustcer/setup-nu@v2.1 uses: hustcer/setup-nu@v2.1
with: with:
version: 0.68.0 version: 0.69.1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}