diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 835e65f5..decc7a14 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -14,14 +14,14 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-2022, macos-11.0, ubuntu-22.04] + os: [windows-2022, macos-latest, ubuntu-22.04] compiler: ['clang', 'gcc', 'msvc'] exclude: - os: ubuntu-22.04 compiler: 'msvc' - - os: macos-11.0 + - os: macos-latest compiler: 'gcc' - - os: macos-11.0 + - os: macos-latest compiler: 'msvc' - os: windows-2022 compiler: 'clang' @@ -80,7 +80,7 @@ jobs: # Install Packages (Windows) # - if: runner.os == 'Windows' - uses: jurplel/install-qt-action@v4 + uses: jurplel/install-qt-action@v3 with: version: 5.15.2 dir: 'C:\' @@ -131,7 +131,7 @@ jobs: $XSLInputElement.Load("https://raw.githubusercontent.com/rpavlik/jenkins-ctest-plugin/master/ctest-to-junit.xsl") $XSLInputElement.Transform((Resolve-Path .\build\Testing\*\Test.xml), (Join-Path (Resolve-Path .) "ctest-to-junit-results.xml")) - name: Upload test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results ${{ matrix.os }} ${{ matrix.compiler }} path: ctest-to-junit-results.xml @@ -171,19 +171,19 @@ jobs: run: cd build && cpack - if: runner.os == 'macOS' name: Upload Package for Mac - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-test Mac ${{ matrix.os }} ${{ matrix.compiler }} path: ${{ github.workspace }}/artifact/*.dmg - if: contains( matrix.os, 'ubuntu' ) name: Upload Package for Ubuntu - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-test Linux ${{ matrix.os }} ${{ matrix.compiler }} path: ${{ github.workspace }}/artifact/*.deb - if: runner.os == 'Windows' name: Upload Package for Windows - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-test Windows ${{ matrix.os }} ${{ matrix.compiler }} path: ${{ github.workspace }}/artifact/*.exe