diff --git a/.github/workflows/bwc-test-workflow.yml b/.github/workflows/bwc-test-workflow.yml index a4356e914..c64106e02 100644 --- a/.github/workflows/bwc-test-workflow.yml +++ b/.github/workflows/bwc-test-workflow.yml @@ -26,7 +26,7 @@ jobs: echo "Running backwards compatibility tests..." ./gradlew bwcTestSuite - name: Upload failed logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: failure() with: name: logs diff --git a/.github/workflows/docker-security-test-workflow.yml b/.github/workflows/docker-security-test-workflow.yml index 6b452c821..733e49049 100644 --- a/.github/workflows/docker-security-test-workflow.yml +++ b/.github/workflows/docker-security-test-workflow.yml @@ -83,7 +83,7 @@ jobs: echo "Security plugin is NOT available skipping this run as tests without security have already been run" fi - name: Upload failed logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: failure() with: name: logs @@ -96,7 +96,7 @@ jobs: - name: Tar logs run: tar cvzf ./logs.tgz ./logs - name: Upload logs to GitHub - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: failure() with: name: logs.tgz diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index 02a693ff1..a35dc66dc 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -52,7 +52,7 @@ jobs: chown -R 1000:1000 `pwd` su `id -un 1000` -c "./gradlew integTest -PnumNodes=3 ${{ env.TEST_FILTER }}" - name: Upload failed logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: failure() with: name: logs diff --git a/.github/workflows/security-test-workflow.yml b/.github/workflows/security-test-workflow.yml index d6606ca3b..acdc19d41 100644 --- a/.github/workflows/security-test-workflow.yml +++ b/.github/workflows/security-test-workflow.yml @@ -47,7 +47,7 @@ jobs: chown -R 1000:1000 `pwd` su `id -un 1000` -c "./gradlew integTest -Dsecurity=true -Dhttps=true --tests '*SecurityBehaviorIT'" - name: Upload failed logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: failure() with: name: logs diff --git a/.github/workflows/test-and-build-workflow.yml b/.github/workflows/test-and-build-workflow.yml index ee1007873..0f312a643 100644 --- a/.github/workflows/test-and-build-workflow.yml +++ b/.github/workflows/test-and-build-workflow.yml @@ -61,7 +61,7 @@ jobs: run: | su `id -un 1000` -c "./gradlew jacocoTestReport" - name: Upload coverage XML - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: always() && matrix.java == 21 with: name: coverage-xml-${{ matrix.java }}-${{ matrix.feature }} @@ -69,14 +69,14 @@ jobs: if-no-files-found: warn overwrite: 'true' - name: Upload failed logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: ${{ failure() }} with: name: logs-${{ matrix.java }}-${{ matrix.feature }} path: build/testclusters/integTest-*/logs/* overwrite: 'true' - name: Upload test reports - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: ${{ failure() }} with: name: test-reports-linux-${{ matrix.java }}-${{ matrix.feature }} @@ -89,7 +89,7 @@ jobs: # This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact - name: Upload Artifacts # v4 requires node.js 20 which is not supported - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: index-management-plugin-ubuntu-latest-${{ matrix.java }}-${{ matrix.feature }} path: index-management-artifacts @@ -146,7 +146,7 @@ jobs: cp ./build/distributions/*.zip index-management-artifacts # This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact - name: Upload Artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: index-management-plugin-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.feature }} path: index-management-artifacts