From e1d5180e6d9a2fad24c1a8b6f813c5ae3309875d Mon Sep 17 00:00:00 2001 From: Justin Ma Date: Wed, 5 Oct 2022 22:10:25 +0800 Subject: [PATCH] Update nushell version for release workflow (#6666) --- .github/workflows/release-pkg.nu | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-pkg.nu b/.github/workflows/release-pkg.nu index 7491644e25..5911b9b558 100755 --- a/.github/workflows/release-pkg.nu +++ b/.github/workflows/release-pkg.nu @@ -76,9 +76,9 @@ cp -v README.release.txt $'($dist)/README.txt' $'(char nl)Check binary release version detail:'; hr-line 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 { - (do -i { ./output/nu -c 'version' }) | str collect + (do -i { ./output/nu -c 'version' }) | str join } if ($ver | str trim | is-empty) { $'(ansi r)Incompatible nu binary...(ansi reset)' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9438edb5d..3370812d4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,7 @@ jobs: - name: Setup Nushell uses: hustcer/setup-nu@v2.1 with: - version: 0.68.0 + version: 0.69.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}