From e632ac1a47d9656f54f565a7d9c836c21ea07e18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 01:57:10 +0000 Subject: [PATCH] chore(deps): bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/run-api-analytics-tests.yml | 2 +- .github/workflows/run-api-tests.yml | 2 +- .github/workflows/run-tests.yml | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run-api-analytics-tests.yml b/.github/workflows/run-api-analytics-tests.yml index b230bfa20da1..5a36d77f82d9 100644 --- a/.github/workflows/run-api-analytics-tests.yml +++ b/.github/workflows/run-api-analytics-tests.yml @@ -68,7 +68,7 @@ jobs: cd dhis-2/dhis-test-e2e docker-compose logs web > ~/logs.txt - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: "tomcat_logs" diff --git a/.github/workflows/run-api-tests.yml b/.github/workflows/run-api-tests.yml index 7f42eb34a013..7de5eec0ad3e 100644 --- a/.github/workflows/run-api-tests.yml +++ b/.github/workflows/run-api-tests.yml @@ -66,7 +66,7 @@ jobs: cd dhis-2/dhis-test-e2e docker compose logs web > ~/logs.txt - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: "tomcat_logs" diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 480e919cfae9..f2f5a2b2523b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -34,7 +34,7 @@ jobs: # delete the next 2 steps once we are confident in the coverage setup - name: Tar jacoco coverage report to debug run: tar -cvf coverage.tar dhis-2/dhis-test-coverage/target/site/jacoco-aggregate - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload jacoco coverage report to debug with: name: unit-test-coverage @@ -50,7 +50,7 @@ jobs: - name: Tar surefire individual reports run: find . -name "surefire-reports" -type d -exec find {} -type f -name "*.xml" -printf '%p\0' \; | tar --null --files-from=- -cvf surefire_reports.tar - name: Archive surefire reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: unit-test-surefire-reports path: | @@ -71,7 +71,7 @@ jobs: - name: Run integration tests run: mvn clean verify --threads 2C --batch-mode --no-transfer-progress -Pintegration -f ./dhis-2/pom.xml -pl -dhis-web-embedded-jetty timeout-minutes: 30 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload test logs on failure if: failure() with: @@ -89,7 +89,7 @@ jobs: # delete the next 2 steps once we are confident in the coverage setup - name: Tar jacoco coverage report to debug run: tar -cvf coverage.tar dhis-2/dhis-test-coverage/target/site/jacoco-aggregate - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload jacoco coverage report to debug with: name: integration-test-coverage @@ -101,7 +101,7 @@ jobs: - name: Tar surefire individual reports run: find . -name "surefire-reports" -type d -exec find {} -type f -name "*.xml" -printf '%p\0' \; | tar --null --files-from=- -cvf surefire_reports.tar - name: Archive surefire reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: integration-test-surefire-reports path: | @@ -122,7 +122,7 @@ jobs: - name: Run integration h2 tests run: mvn clean verify --threads 2C --batch-mode --no-transfer-progress -PintegrationH2 -f ./dhis-2/pom.xml -pl -dhis-web-embedded-jetty timeout-minutes: 30 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload test logs on failure if: failure() with: @@ -140,7 +140,7 @@ jobs: # delete the next 2 steps once we are confident in the coverage setup - name: Tar jacoco coverage report to debug run: tar -cvf coverage.tar dhis-2/dhis-test-coverage/target/site/jacoco-aggregate - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload jacoco coverage report to debug with: name: integration-h2-test-coverage @@ -152,7 +152,7 @@ jobs: - name: Tar surefire individual reports run: find . -name "surefire-reports" -type d -exec find {} -type f -name "*.xml" -printf '%p\0' \; | tar --null --files-from=- -cvf surefire_reports.tar - name: Archive surefire reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: integration-h2-test-surefire-reports path: |