forked from opensearch-project/security
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the CI / report-coverage check by switching to corresponding acti…
…ons/upload-artifact@v4 (opensearch-project#3893) Signed-off-by: Craig Perkins <[email protected]>
- Loading branch information
Showing
1 changed file
with
3 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,39 +60,26 @@ jobs: | |
arguments: | | ||
${{ matrix.gradle_task }} -Dbuild.snapshot=false | ||
- uses: alehechka/upload-tartifact@v2 | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: ${{ matrix.platform }}-JDK${{ matrix.jdk }}-${{ matrix.gradle_task }}-reports | ||
path: | | ||
./build/reports/ | ||
report-coverage: | ||
needs: | ||
- "test" | ||
- "integration-tests" | ||
needs: ["test", "integration-tests"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
path: downloaded-artifacts | ||
|
||
- name: Display structure of downloaded files | ||
run: ls -R | ||
working-directory: downloaded-artifacts | ||
|
||
- name: Extract downloaded artifacts | ||
run: | | ||
for archive in ./*/artifact.tar; do | ||
(cd "$(dirname "$archive")" && tar -xvf artifact.tar) | ||
done | ||
working-directory: downloaded-artifacts | ||
|
||
- name: Display structure of downloaded files | ||
run: ls -R | ||
working-directory: downloaded-artifacts | ||
|
||
- name: Upload Coverage with retry | ||
uses: Wandalen/[email protected] | ||
with: | ||
|