Skip to content

Commit 9028919

Browse files
authored
fix: properly set nightly-base skipped (#13338)
skipped was never set correctly in build-nightly-base so we always skipped the push
1 parent bd926ca commit 9028919

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release_nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,18 @@ jobs:
194194
name_without_extras=$(echo $name | sed 's/\[.*\]//')
195195
if [ "$name_without_extras" != "langflow-base-nightly" ]; then
196196
echo "Name $name_without_extras does not match langflow-base-nightly. Exiting the workflow."
197+
echo "skipped=true" >> $GITHUB_OUTPUT
197198
exit 1
198199
fi
199200
if [ "$version" != "${{ inputs.nightly_tag_base }}" ]; then
200201
echo "Version $version does not match nightly tag ${{ inputs.nightly_tag_base }}. Exiting the workflow."
202+
echo "skipped=true" >> $GITHUB_OUTPUT
201203
exit 1
202204
fi
203205
# Strip the leading `v` from the version
204206
version=$(echo $version | sed 's/^v//')
205207
echo "version=$version" >> $GITHUB_OUTPUT
208+
echo "skipped=false" >> $GITHUB_OUTPUT
206209
207210
- name: Build Langflow Base for distribution
208211
run: |

0 commit comments

Comments
 (0)