Skip to content

Commit 197138f

Browse files
committed
more nu syntax fixes
1 parent f733aa8 commit 197138f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/bump-n-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
if: github.event_name != 'workflow_dispatch' && !startsWith(github.ref, 'refs/tags/')
7676
runs-on: ubuntu-latest
7777
outputs:
78-
pkgs: ${{ steps.set-pkgs.outputs.pkgs }}
78+
pkgs: ${{ steps.get-pkgs.outputs.pkgs }}
7979
steps:
8080
- uses: actions/checkout@v6
8181
with:
@@ -84,11 +84,11 @@ jobs:
8484
- name: Install nushell
8585
uses: hustcer/setup-nu@92c296ba1ba2ba04cc948ab64ddefe192dc13f0c # v3.23
8686
- name: Get changed packages
87-
id: set-pkgs
87+
id: get-pkgs
8888
shell: nu {0}
8989
run: |-
9090
cd ${{ github.workspace }}
91-
source ${{ github.workspace }}/.github/workflows/bump-n-release.nu
91+
use ${{ github.workspace }}/.github/workflows/bump-n-release.nu get-changed-pkgs
9292
let pkgs = get-changed-pkgs
9393
"pkgs=($pkgs)\n" | save --append $env.GITHUB_OUTPUT
9494
update-changelog:
@@ -122,7 +122,7 @@ jobs:
122122
shell: nu {0}
123123
run: |-
124124
cd ${{ github.workspace }}
125-
source ${{ github.workspace }}.github/workflows/bump-n-release.nu
125+
use ${{ github.workspace }}.github/workflows/bump-n-release.nu gen-changes
126126
gen-changes $env.PKG --unreleased
127127
let out = open --raw .config/ReleaseNotes.md
128128
$"## ($env.PKG)\n\n($out)" | save --append $env.GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)