Skip to content

Commit

Permalink
chore(actions): prevent duplicate artifact name in validation-latest-…
Browse files Browse the repository at this point in the history
…versions workflow (#115)
  • Loading branch information
mcollovati authored Jul 21, 2024
1 parent d467264 commit 2622535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validation-latest-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
| sed -E 's/.*(platform|flow|vertx).*>(([0-9]+\.[0-9]+)\..*)<.*/"\1": "\2","\1Minor":"\3"/g' | paste -s -d',' \
| awk --assign BRANCH=$branch '{print "{\"branch\":\""BRANCH"\","$0"}"}'; \
done | paste -s -d',' | awk '{print "["$i"]"}' \
| jq -c '{ include: [ .[] | {branch,vertx,vaadin:.platform,flow:.flow,vertxSearch:.vertx,vaadinSearch:(.platformMinor+".*"),flowSearch:(.flowMinor+".*")},{branch,vertx:.vertx,vaadin:.platform,flow:.flow,vertxSearch:(.vertxMinor+".*"),vaadinSearch:.platform,flowSearch:.flow} ]}')
| jq -c '{ include: [ .[] | {branch,vertx,vaadin:.platform,flow:.flow,vertxSearch:.vertx,vaadinSearch:(.platformMinor+".*"),flowSearch:(.flowMinor+".*"),target:"vaadin"},{branch,vertx:.vertx,vaadin:.platform,flow:.flow,vertxSearch:(.vertxMinor+".*"),vaadinSearch:.platform,flowSearch:.flow,target:"vertx"} ]}')
echo "matrix=${matrix}" >> "$GITHUB_OUTPUT"
build:
name: Vert.x ${{ matrix.vertxSearch }}, Vaadin ${{ matrix.vaadinSearch }}, Flow ${{ matrix.flowSearch }} (${{ matrix.branch }})
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: ${{ failure() || success() }}
with:
name: tests-output-${{ matrix.branch }}_vertx-${{ matrix.vertx }}_vaadin-${{ matrix.vaadin }}_flow-${{ matrix.flow }}
name: tests-output-${{ matrix.branch }}-${{ matrix.target }}_vertx-${{ matrix.vertx }}_vaadin-${{ matrix.vaadin }}_flow-${{ matrix.flow }}
path: tests-report-*.tgz
- name: Publish Unit Test Results
if: ${{ failure() || success() }}
Expand Down

0 comments on commit 2622535

Please sign in to comment.