Skip to content

Commit e87c8f3

Browse files
authored
chore: harden tap token availability check
1 parent 453d73f commit e87c8f3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,10 @@ jobs:
187187

188188
- name: Check TAP_PUSH_TOKEN availability
189189
id: tap_token
190+
env:
191+
TAP_PUSH_TOKEN: ${{ secrets.TAP_PUSH_TOKEN }}
190192
run: |
191-
if [[ -n "${{ secrets.TAP_PUSH_TOKEN }}" ]]; then
193+
if [[ -n "$TAP_PUSH_TOKEN" ]]; then
192194
echo "configured=true" >> "$GITHUB_OUTPUT"
193195
else
194196
echo "configured=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)