Skip to content

Commit 895cc6e

Browse files
committed
fix: typo for ternary operator in CI
1 parent f34abe3 commit 895cc6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ jobs:
442442
name: demos${{ contains(fromJSON('["master", "develop"]'), github.ref_name) || format('-{0}', github.ref_name) || '' }}
443443
path: ${{ env.demos_path }}
444444
# develop and master are retained for longer so that they can be compared
445-
retention-days: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) || '30' || '1' }}
445+
retention-days: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && '30' || '1' }}
446446

447447
- name: Update website demos
448448
if: ${{ github.event_name == 'push' && (contains(fromJSON('["master", "develop"]'), github.ref_name) || startsWith(github.ref, 'refs/tags/')) }}

0 commit comments

Comments
 (0)