Skip to content

Commit

Permalink
CI - Always include a file at the root to get the full hierarchy
Browse files Browse the repository at this point in the history
The upload-artifact action takes the common ancestor as the root path of
the archive which will lead to issues when we have only one file.

Always uploading a file from the root of the repository should fix this.

(cherry picked from commit 370d944)
  • Loading branch information
gsmet committed Sep 6, 2021
1 parent 098aa64 commit cc59223
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ jobs:
name: "build-reports-Initial JDK 11 Build"
path: |
target/build-report.json
LICENSE.txt
retention-days: 2

calculate-test-jobs:
Expand Down Expand Up @@ -322,6 +323,7 @@ jobs:
path: |
**/target/*-reports/TEST-*.xml
target/build-report.json
LICENSE.txt
retention-days: 2
- name: Upload gc.log
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -388,6 +390,7 @@ jobs:
path: |
**/target/*-reports/TEST-*.xml
target/build-report.json
LICENSE.txt
retention-days: 2

gradle-tests:
Expand Down Expand Up @@ -447,6 +450,7 @@ jobs:
**/build/test-results/test/TEST-*.xml
**/target/*-reports/TEST-*.xml
target/build-report.json
LICENSE.txt
retention-days: 2

devtools-tests:
Expand Down Expand Up @@ -506,6 +510,7 @@ jobs:
path: |
**/target/*-reports/TEST-*.xml
target/build-report.json
LICENSE.txt
retention-days: 2

tcks-test:
Expand Down Expand Up @@ -564,6 +569,7 @@ jobs:
path: |
**/target/*-reports/TEST-*.xml
target/build-report.json
LICENSE.txt
retention-days: 2

native-tests:
Expand Down Expand Up @@ -643,4 +649,5 @@ jobs:
**/target/*-reports/TEST-*.xml
**/build/test-results/test/TEST-*.xml
target/build-report.json
LICENSE.txt
retention-days: 2

0 comments on commit cc59223

Please sign in to comment.