From d4cd171d6b372d5978fc762a2eb42f5916df7c34 Mon Sep 17 00:00:00 2001 From: Justin Ma Date: Wed, 14 Jun 2023 14:02:48 +0800 Subject: [PATCH] Use Nushell v0.81 for release workflows (#9432) # Description Use Nushell v0.81 for release workflows --- .github/workflows/nightly-build.yml | 7 +++---- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 57920786d..770119aaf 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -35,7 +35,7 @@ jobs: - name: Setup Nushell uses: hustcer/setup-nu@v3 with: - version: 0.79.0 + version: 0.81.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -55,7 +55,7 @@ jobs: let sha_short = (git rev-parse --short src/main | str trim) let tag_name = $'nightly-($sha_short)' 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 } @@ -151,7 +151,7 @@ jobs: - name: Setup Nushell uses: hustcer/setup-nu@v3 with: - version: 0.79.0 + version: 0.81.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -194,7 +194,6 @@ jobs: body: | This is a nightly build of Nushell. It is not recommended for production use. - release from ${{ github.sha }} files: ${{ steps.nu.outputs.archive }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82911eb0c..671b3612e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,7 +76,7 @@ jobs: - name: Setup Nushell uses: hustcer/setup-nu@v3 with: - version: 0.79.0 + version: 0.81.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}