Skip to content

Commit

Permalink
Rename invalid path before building the uploaded artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Mar 19, 2022
1 parent 8fa5628 commit 723eb3b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,17 @@ jobs:
name: test-reports-maven-java${{matrix.java.name}}
path: 'test-reports.tgz'
retention-days: 5
# see https://github.com/actions/toolkit/blob/master/packages/artifact/docs/additional-information.md#non-supported-characters
- name: Rename invalid path
#if: ${{ failure() || cancelled() }}
if: ${{ always() }}
run: |
if [ -d 'integration-tests/maven/target/test-classes/projects/qit?fast?jar' ]; then mv 'integration-tests/maven/target/test-classes/projects/qit?fast?jar' 'integration-tests/maven/target/test-classes/projects/qit--fast--jar'; fi
shell: bash
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v2
if: ${{ failure() || cancelled() }}
#if: ${{ failure() || cancelled() }}
if: ${{ always() }}
with:
name: "build-reports-Maven Tests - JDK ${{matrix.java.name}}"
path: |
Expand Down

0 comments on commit 723eb3b

Please sign in to comment.