forked from extern/nushell
Use Nushell v0.81 for release workflows (#9432)
<!-- if this PR closes one or more issues, you can automatically link the PR with them by using one of the [*linking keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword), e.g. - this PR should close #xxxx - fixes #xxxx you can also mention related issues, PRs or discussions! --> # Description Use Nushell v0.81 for release workflows
This commit is contained in:
parent
30ccabde5b
commit
d4cd171d6b
7
.github/workflows/nightly-build.yml
vendored
7
.github/workflows/nightly-build.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3
|
uses: hustcer/setup-nu@v3
|
||||||
with:
|
with:
|
||||||
version: 0.79.0
|
version: 0.81.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
let sha_short = (git rev-parse --short src/main | str trim)
|
let sha_short = (git rev-parse --short src/main | str trim)
|
||||||
let tag_name = $'nightly-($sha_short)'
|
let tag_name = $'nightly-($sha_short)'
|
||||||
if (git ls-remote --tags origin $tag_name | is-empty) {
|
if (git ls-remote --tags origin $tag_name | is-empty) {
|
||||||
git tag -a $tag_name -m $'Nightly build from ($env.GITHUB_SHA)'
|
git tag -a $tag_name -m $'Nightly build from ($sha_short)'
|
||||||
git push origin --tags
|
git push origin --tags
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ jobs:
|
|||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3
|
uses: hustcer/setup-nu@v3
|
||||||
with:
|
with:
|
||||||
version: 0.79.0
|
version: 0.81.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -194,7 +194,6 @@ jobs:
|
|||||||
body: |
|
body: |
|
||||||
This is a nightly build of Nushell.
|
This is a nightly build of Nushell.
|
||||||
It is not recommended for production use.
|
It is not recommended for production use.
|
||||||
release from ${{ github.sha }}
|
|
||||||
files: ${{ steps.nu.outputs.archive }}
|
files: ${{ steps.nu.outputs.archive }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -76,7 +76,7 @@ jobs:
|
|||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3
|
uses: hustcer/setup-nu@v3
|
||||||
with:
|
with:
|
||||||
version: 0.79.0
|
version: 0.81.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user