Skip to content

Commit 09a43d4

Browse files
committed
ci: artifact names include ref_name in master and develop
1 parent 028b98e commit 09a43d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ jobs:
439439
- name: Upload demo artifacts
440440
uses: actions/upload-artifact@v3
441441
with:
442-
name: demos${{ contains(fromJSON('["master", "develop"]'), github.ref_name) || format('-{0}', github.ref_name) || '' }}
442+
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
445445
retention-days: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && '30' || '1' }}

0 commit comments

Comments
 (0)