Skip to content

Commit

Permalink
ci: artifact names include ref_name in master and develop
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed May 30, 2024
1 parent 028b98e commit 09a43d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ jobs:
- name: Upload demo artifacts
uses: actions/upload-artifact@v3
with:
name: demos${{ contains(fromJSON('["master", "develop"]'), github.ref_name) || format('-{0}', github.ref_name) || '' }}
name: demos${{ (contains(fromJSON('["master", "develop"]'), github.ref_name ) && format('-{0}', github.ref_name)) || '' }}
path: ${{ env.demos_path }}
# develop and master are retained for longer so that they can be compared
retention-days: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && '30' || '1' }}
Expand Down

0 comments on commit 09a43d4

Please sign in to comment.