forked from extern/nushell
Fix release and nightly build workflow (#11146)
Fix release and nightly build workflow: https://github.com/nushell/nightly/issues/15 I think the `mv` command in v0.87.1 still has some bugs, when downgrade to v0.86 everything works as expected
This commit is contained in:
parent
c2a46070aa
commit
95ac436d26
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
|
uses: hustcer/setup-nu@v3.8
|
||||||
if: github.repository == 'nushell/nightly'
|
if: github.repository == 'nushell/nightly'
|
||||||
with:
|
with:
|
||||||
version: 0.87.1
|
version: 0.86.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ jobs:
|
|||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3.8
|
uses: hustcer/setup-nu@v3.8
|
||||||
with:
|
with:
|
||||||
version: 0.87.1
|
version: 0.86.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -257,7 +257,7 @@ jobs:
|
|||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3.8
|
uses: hustcer/setup-nu@v3.8
|
||||||
with:
|
with:
|
||||||
version: 0.87.1
|
version: 0.86.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -323,7 +323,7 @@ jobs:
|
|||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3.8
|
uses: hustcer/setup-nu@v3.8
|
||||||
with:
|
with:
|
||||||
version: 0.87.1
|
version: 0.86.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
8
.github/workflows/release-pkg.nu
vendored
8
.github/workflows/release-pkg.nu
vendored
@ -160,13 +160,7 @@ if $os in [$USE_UBUNTU, 'macos-latest'] {
|
|||||||
let archive = $'($dist)/($dest).tar.gz'
|
let archive = $'($dist)/($dest).tar.gz'
|
||||||
|
|
||||||
mkdir $dest
|
mkdir $dest
|
||||||
$files | each {|it|
|
$files | each {|it| mv $it $dest } | ignore
|
||||||
if not ($it | path exists) {
|
|
||||||
print $'(ansi r)($it) not exists, abort...(ansi reset)'
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
mv $it $dest
|
|
||||||
} | ignore
|
|
||||||
|
|
||||||
print $'(char nl)(ansi g)Archive contents:(ansi reset)'; hr-line; ls $dest
|
print $'(char nl)(ansi g)Archive contents:(ansi reset)'; hr-line; ls $dest
|
||||||
|
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -87,7 +87,7 @@ jobs:
|
|||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3.8
|
uses: hustcer/setup-nu@v3.8
|
||||||
with:
|
with:
|
||||||
version: 0.87.1
|
version: 0.86.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ jobs:
|
|||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3.8
|
uses: hustcer/setup-nu@v3.8
|
||||||
with:
|
with:
|
||||||
version: 0.87.1
|
version: 0.86.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user