diff --git a/.github/workflows/test_suite_linux.yml b/.github/workflows/test_suite_linux.yml index 8a957edc7cd..130d5cb91b4 100644 --- a/.github/workflows/test_suite_linux.yml +++ b/.github/workflows/test_suite_linux.yml @@ -74,14 +74,14 @@ jobs: sudo python -m pip install requests PyGithub pip install pyopenssl --upgrade scripts/packaging/publish_release.py --key=${{ secrets.GITHUB_TOKEN }} --repo=${{ github.repository }} --branch=${{ github.ref }} --commit=$(git log -1 --format='%H') --tag=${{ github.ref }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ contains(github.event.pull_request.labels.*.name, 'test suite') || contains(github.event.pull_request.labels.*.name, 'test ros') || contains(github.event.pull_request.labels.*.name, 'test worlds') }} with: name: build-${{ matrix.os }} path: | distribution/*.tar.bz2 distribution/*.zip - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !contains(github.event.pull_request.labels.*.name, 'test suite') && !contains(github.event.pull_request.labels.*.name, 'test ros') && !contains(github.event.pull_request.labels.*.name, 'test worlds') }} with: name: build-${{ matrix.os }} @@ -121,7 +121,7 @@ jobs: export TESTS_HOME=$PWD # required by cache group in the test suite export BRANCH_HASH=$(git log -1 --format='%H') xvfb-run --auto-servernum python tests/test_suite.py - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: test-results-${{ matrix.os }} diff --git a/.github/workflows/test_suite_linux_develop.yml b/.github/workflows/test_suite_linux_develop.yml index e3629e8b868..d365ab95b66 100644 --- a/.github/workflows/test_suite_linux_develop.yml +++ b/.github/workflows/test_suite_linux_develop.yml @@ -70,14 +70,14 @@ jobs: sudo python -m pip install requests PyGithub pip install pyopenssl --upgrade scripts/packaging/publish_release.py --key=${{ secrets.GITHUB_TOKEN }} --repo=${{ github.repository }} --branch=${{ github.ref }} --commit=$(git log -1 --format='%H') --tag=${{ github.ref }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ contains(github.event.pull_request.labels.*.name, 'test suite') || contains(github.event.pull_request.labels.*.name, 'test ros') || contains(github.event.pull_request.labels.*.name, 'test worlds') }} with: name: build-${{ matrix.os }} path: | distribution/*.tar.bz2 distribution/*.zip - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !contains(github.event.pull_request.labels.*.name, 'test suite') && !contains(github.event.pull_request.labels.*.name, 'test ros') && !contains(github.event.pull_request.labels.*.name, 'test worlds') }} with: name: build-${{ matrix.os }} diff --git a/.github/workflows/test_suite_mac.yml b/.github/workflows/test_suite_mac.yml index 010ea538393..175ee3177ac 100644 --- a/.github/workflows/test_suite_mac.yml +++ b/.github/workflows/test_suite_mac.yml @@ -59,7 +59,7 @@ jobs: run: | sudo python -m pip install requests PyGithub scripts/packaging/publish_release.py --key=${{ secrets.GITHUB_TOKEN }} --repo=${{ github.repository }} --branch=${{ github.ref }} --commit=$(git log -1 --format='%H') --tag=${{ github.ref }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ contains(github.event.pull_request.labels.*.name, 'test suite') || contains(github.event.pull_request.labels.*.name, 'test distribution') }} with: name: build-${{ matrix.os }} diff --git a/.github/workflows/test_suite_mac_develop.yml b/.github/workflows/test_suite_mac_develop.yml index a619b9fa0be..bfe913eacc0 100644 --- a/.github/workflows/test_suite_mac_develop.yml +++ b/.github/workflows/test_suite_mac_develop.yml @@ -55,7 +55,7 @@ jobs: run: | sudo python -m pip install requests PyGithub scripts/packaging/publish_release.py --key=${{ secrets.GITHUB_TOKEN }} --repo=${{ github.repository }} --branch=${{ github.ref }} --commit=$(git log -1 --format='%H') --tag=${{ github.ref }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ contains(github.event.pull_request.labels.*.name, 'test suite') || contains(github.event.pull_request.labels.*.name, 'test distribution') }} with: name: build-${{ matrix.os }} diff --git a/.github/workflows/test_suite_windows.yml b/.github/workflows/test_suite_windows.yml index ad816213ddc..1127e4faeac 100644 --- a/.github/workflows/test_suite_windows.yml +++ b/.github/workflows/test_suite_windows.yml @@ -87,7 +87,7 @@ jobs: run: | python -m pip install requests PyGithub scripts/packaging/publish_release.py --key=${{ secrets.GITHUB_TOKEN }} --repo=${{ github.repository }} --branch=${{ github.ref }} --commit=$(git log -1 --format='%H') --tag=${{ github.ref }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ contains(github.event.pull_request.labels.*.name, 'test distribution') }} with: name: build-${{ matrix.os }} diff --git a/.github/workflows/test_suite_windows_develop.yml b/.github/workflows/test_suite_windows_develop.yml index 4e57d062c54..7327938545c 100644 --- a/.github/workflows/test_suite_windows_develop.yml +++ b/.github/workflows/test_suite_windows_develop.yml @@ -83,7 +83,7 @@ jobs: run: | python -m pip install requests PyGithub scripts/packaging/publish_release.py --key=${{ secrets.GITHUB_TOKEN }} --repo=${{ github.repository }} --branch=${{ github.ref }} --commit=$(git log -1 --format='%H') --tag=${{ github.ref }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ contains(github.event.pull_request.labels.*.name, 'test distribution') }} with: name: build-${{ matrix.os }}