Skip to content

Commit 5bf2f57

Browse files
committed
Fix build of nightly release
1 parent 7a6fddf commit 5bf2f57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nightly-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ jobs:
105105
106106
# ------ Test the latest changes before merging ------
107107
# TODO: Remove the following a few lines after the test
108+
let assets = []
108109
git fetch origin
109-
if ((git branch -r) =~ feature/latest) {
110-
let assets = []
110+
if ((git branch -r) =~ feature/latest) and ($assets | is-not-empty) {
111111
print $'Checking out the latest changes from (ansi g)feature/latest(ansi reset):'
112112
print $assets
113113
git checkout origin/feature/latest ...$assets

0 commit comments

Comments
 (0)