Skip to content

Commit f733aa8

Browse files
committed
run nu from workspace dir
1 parent d8a6c74 commit f733aa8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ jobs:
8787
id: set-pkgs
8888
shell: nu {0}
8989
run: |-
90-
source .github/workflows/bump-n-release.nu
91-
let pkgs = get-changed-pkgs.nu
90+
cd ${{ github.workspace }}
91+
source ${{ github.workspace }}/.github/workflows/bump-n-release.nu
92+
let pkgs = get-changed-pkgs
9293
"pkgs=($pkgs)\n" | save --append $env.GITHUB_OUTPUT
9394
update-changelog:
9495
if: github.event_name != 'workflow_dispatch'
@@ -120,7 +121,8 @@ jobs:
120121
GIT_CLIFF_CONFIG: .config/cliff.toml
121122
shell: nu {0}
122123
run: |-
123-
source .github/workflows/bump-n-release.nu
124+
cd ${{ github.workspace }}
125+
source ${{ github.workspace }}.github/workflows/bump-n-release.nu
124126
gen-changes $env.PKG --unreleased
125127
let out = open --raw .config/ReleaseNotes.md
126128
$"## ($env.PKG)\n\n($out)" | save --append $env.GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)