mirror of
https://github.com/nushell/nushell
synced 2025-01-27 20:35:43 +00:00
Update nu version for release workflow (#6361)
This commit is contained in:
parent
99c42582fe
commit
bbcf374886
3 changed files with 6 additions and 5 deletions
1
.github/workflows/manual.yml
vendored
1
.github/workflows/manual.yml
vendored
|
@ -28,6 +28,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job
|
# This workflow contains a single job
|
||||||
rls-winget-pkg:
|
rls-winget-pkg:
|
||||||
|
name: Publish winget package manually
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
|
6
.github/workflows/release-pkg.nu
vendored
6
.github/workflows/release-pkg.nu
vendored
|
@ -41,7 +41,7 @@ if $os in ['ubuntu-latest', 'macos-latest'] {
|
||||||
} else {
|
} else {
|
||||||
# musl-tools to fix 'Failed to find tool. Is `musl-gcc` installed?'
|
# musl-tools to fix 'Failed to find tool. Is `musl-gcc` installed?'
|
||||||
# Actually just for x86_64-unknown-linux-musl target
|
# 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
|
cargo-build-nu $flags
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -113,7 +113,7 @@ if $os in ['ubuntu-latest', 'macos-latest'] {
|
||||||
cd $src; hr-line
|
cd $src; hr-line
|
||||||
# Wix need the binaries be stored in target/release/
|
# Wix need the binaries be stored in target/release/
|
||||||
cp -r $'($dist)/*' 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
|
cargo wix --no-build --nocapture --package nu --output $wixRelease
|
||||||
echo $'::set-output name=archive::($wixRelease)'
|
echo $'::set-output name=archive::($wixRelease)'
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ def 'hr-line' [
|
||||||
--blank-line(-b): bool
|
--blank-line(-b): bool
|
||||||
] {
|
] {
|
||||||
print $'(ansi g)---------------------------------------------------------------------------->(ansi reset)'
|
print $'(ansi g)---------------------------------------------------------------------------->(ansi reset)'
|
||||||
if $blank-line { char nl }
|
if $blank_line { char nl }
|
||||||
}
|
}
|
||||||
|
|
||||||
# Get the specified env key's value or ''
|
# Get the specified env key's value or ''
|
||||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -70,9 +70,9 @@ jobs:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v1
|
uses: hustcer/setup-nu@v2
|
||||||
with:
|
with:
|
||||||
version: 0.63.0
|
version: 0.67.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue