Skip to content

Commit 5c6110a

Browse files
committed
fix: don't set empty value into DEFANG_DEBUG
1 parent d14352e commit 5c6110a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
shell: bash
5454
run: |
5555
echo "DEFANG_PROVIDER=${{ inputs['provider'] }}" >> $GITHUB_ENV
56-
echo "DEFANG_DEBUG=$RUNNER_DEBUG" >> $GITHUB_ENV
56+
[ -n "$RUNNER_DEBUG" ] && echo "DEFANG_DEBUG=$RUNNER_DEBUG" >> $GITHUB_ENV || true
5757
5858
- name: Login to Defang
5959
shell: bash

0 commit comments

Comments
 (0)