Skip to content

Commit

Permalink
Merge pull request #3143 from mapfish/renovate/master-actions-upload-…
Browse files Browse the repository at this point in the history
…artifact-4.x

Update actions/upload-artifact action to v4 (master)
  • Loading branch information
sbrunner authored Jan 8, 2024
2 parents 698e93b + 36b1343 commit 7749f96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- run: make build

- run: make checks
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Checkstyle and SpotBugs reports
path: reports
Expand All @@ -105,13 +105,13 @@ jobs:
# Tntented to fail earlier than the standard 30min for workflow failure
timeout-minutes: 10

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Unit test results
path: core/build/resources/test/org/mapfish/print/
if-no-files-found: ignore
if: failure()
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Unit test report
path: core/build/reports/tests/test/
Expand All @@ -123,7 +123,7 @@ jobs:
- run: c2cciutils-docker-logs || true
if: always()

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Acceptance tests (Examples)
path: examples/build/resources/test/examples/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ jobs:
- run: docker cp builder:/src/core/build/ core/build/
if: always()

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Test results
path: core/build/resources/actual
if: failure()
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Reports core
path: core/build/reports
Expand All @@ -85,7 +85,7 @@ jobs:
mkdir -p /tmp/test_results/junit
find . -name '*TEST-*.xml' -exec cp -v {} /tmp/test_results/junit/ \;
if: failure()
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Test results
path: /tmp/test_results
Expand Down

0 comments on commit 7749f96

Please sign in to comment.