Skip to content

Commit

Permalink
fix(continuous-integration): support relative non-glob build path
Browse files Browse the repository at this point in the history
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
  • Loading branch information
neilime committed Apr 9, 2024
1 parent b510060 commit 1869573
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,12 @@ jobs:
.map(artifact => artifact.trim())
.filter(Boolean)
.map(artifact => {
if(!artifact.includes('*')) {
return artifact;
if (!artifact.includes('*')) {
if (artifact.startsWith('/')) {
return artifact;
}
return `${{ github.workspace }}/${artifact}`;
}
// FIXME: Workaround to preserve full path to artifact
Expand Down

0 comments on commit 1869573

Please sign in to comment.