diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index a3a249be61..448a9cd558 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -28,6 +28,7 @@ on: jobs: # This workflow contains a single job rls-winget-pkg: + name: Publish winget package manually # The type of runner that the job will run on runs-on: windows-latest diff --git a/.github/workflows/release-pkg.nu b/.github/workflows/release-pkg.nu index 3a889009c1..a71831be2f 100755 --- a/.github/workflows/release-pkg.nu +++ b/.github/workflows/release-pkg.nu @@ -41,7 +41,7 @@ if $os in ['ubuntu-latest', 'macos-latest'] { } else { # musl-tools to fix 'Failed to find tool. Is `musl-gcc` installed?' # Actually just for x86_64-unknown-linux-musl target - sudo apt install musl-tools -y + if $os == 'ubuntu-latest' { sudo apt install musl-tools -y } cargo-build-nu $flags } } @@ -113,7 +113,7 @@ if $os in ['ubuntu-latest', 'macos-latest'] { cd $src; hr-line # Wix need the binaries be stored in target/release/ cp -r $'($dist)/*' target/release/ - cargo install cargo-wix --version 0.3.2 + cargo install cargo-wix --version 0.3.3 cargo wix --no-build --nocapture --package nu --output $wixRelease echo $'::set-output name=archive::($wixRelease)' @@ -143,7 +143,7 @@ def 'hr-line' [ --blank-line(-b): bool ] { print $'(ansi g)---------------------------------------------------------------------------->(ansi reset)' - if $blank-line { char nl } + if $blank_line { char nl } } # Get the specified env key's value or '' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8553495da..7d6b91da0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,9 +70,9 @@ jobs: target: ${{ matrix.target }} - name: Setup Nushell - uses: hustcer/setup-nu@v1 + uses: hustcer/setup-nu@v2 with: - version: 0.63.0 + version: 0.67.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}