Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump actions/upload-artifact from 3 to 4 #438

Open
wants to merge 1 commit into
base: 2.40
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-api-analytics-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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: |
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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: |
Expand Down
Loading