Skip to content

Commit

Permalink
[fix][ci] default to nightly when mode is not specified via cron trig…
Browse files Browse the repository at this point in the history
…ger (#2646)
  • Loading branch information
siddvenk authored Dec 23, 2024
1 parent 3aebeb5 commit d37a465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: get_image_tag_suffix
id: get_image_tag_suffix
run: |
if [[ "${{ inputs.mode }}" == "nightly" ]]; then
if [[ "${{ inputs.mode || 'nightly' }}" == "nightly" ]]; then
echo "test_image_tag_suffix=nightly" >> $GITHUB_OUTPUT
elif [[ "${{ inputs.mode }}" == "release" ]]; then
echo "test_image_tag_suffix=${{ needs.build.outputs.djl_version }}-${GITHUB_RUN_ID}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit d37a465

Please sign in to comment.