diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index eecb6f904..72ec8b3e1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -44,7 +44,7 @@ jobs: if: matrix.env.coverage run: cmake --build "$RUNNER_TEMP" --target coverage - name: Upload test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results-linux-${{ matrix.env.cc }} path: | @@ -57,7 +57,7 @@ jobs: cpio -pmd0 -D "$RUNNER_TEMP" "$GITHUB_WORKSPACE/test-results/linux-${{ matrix.env.cc }}" [[ ! -e "$RUNNER_TEMP/removeHtmlDates.sh" ]] || cp -av "$RUNNER_TEMP/removeHtmlDates.sh" "$GITHUB_WORKSPACE/test-results" - name: Upload combined test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results-combined path: ${{ github.workspace }}/test-results @@ -80,7 +80,7 @@ jobs: - name: Setup artifacts run: echo "dokitVersion=$(cat "$RUNNER_TEMP/version.txt")" >> $GITHUB_ENV - name: Upload build artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dokit-${{ env.dokitVersion }} path: | @@ -88,7 +88,7 @@ jobs: ${{ runner.temp }}/src/cli/dokit if-no-files-found: error - name: Upload AppImage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dokit-${{ env.dokitVersion }}.AppImage path: ${{ runner.temp }}/dokit-${{ env.dokitVersion }}.AppImage @@ -139,7 +139,7 @@ jobs: if: matrix.env.coverage run: cmake --build "$RUNNER_TEMP" --target coverage - name: Upload test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results-linux-${{ matrix.env.cc }}-${{ matrix.qt }} path: | @@ -151,7 +151,7 @@ jobs: find "$RUNNER_TEMP" \( -name 'coverage.info' -or -name '*.tap' \) -printf '%P\0' | cpio -pmd0 -D "$RUNNER_TEMP" "$GITHUB_WORKSPACE/test-results/linux-${{ matrix.env.cc }}-${{ matrix.qt }}" - name: Upload combined test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results-combined path: ${{ github.workspace }}/test-results @@ -174,7 +174,7 @@ jobs: - name: Setup artifacts run: echo "dokitVersion=$(cat "$RUNNER_TEMP/version.txt")" >> $GITHUB_ENV - name: Upload build artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dokit-${{ env.dokitVersion }} path: | @@ -182,7 +182,7 @@ jobs: ${{ runner.temp }}/src/cli/dokit if-no-files-found: error - name: Upload AppImage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dokit-${{ env.dokitVersion }}.AppImage path: ${{ runner.temp }}/dokit-${{ env.dokitVersion }}.AppImage @@ -239,7 +239,7 @@ jobs: if: matrix.env.coverage run: cmake --build "$RUNNER_TEMP" --target coverage - name: Upload test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results-mac-${{ matrix.env.cc }}-${{ matrix.qt }} path: | @@ -252,7 +252,7 @@ jobs: find "$RUNNER_TEMP" \( -name 'coverage.info' -or -name '*.tap' \) -print0 | cpio -pmd0 "$GITHUB_WORKSPACE/test-results/mac-${{ matrix.env.cc }}-${{ matrix.qt }}" - name: Upload combined test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results-combined path: ${{ github.workspace }}/test-results @@ -275,7 +275,7 @@ jobs: - name: Setup artifacts run: echo "dokitVersion=$(cat "$RUNNER_TEMP/version.txt")" >> $GITHUB_ENV - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dokit-${{ env.dokitVersion }} path: ${{ runner.temp }}/src/cli/*.app @@ -391,7 +391,7 @@ jobs: run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%" --verbose - name: Upload test results if: matrix.arch != 'arm64' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results-win-${{ matrix.arch }}-${{ matrix.tool }}-${{ matrix.qt }} path: ${{ runner.temp }}/test/**/*.tap @@ -414,7 +414,7 @@ jobs: shell: bash run: echo "dokitVersion=$(cat "$RUNNER_TEMP/version.txt")" >> $GITHUB_ENV - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dokit-${{ env.dokitVersion }} path: | @@ -423,7 +423,7 @@ jobs: if-no-files-found: error - name: Upload artifacts (portable) if: matrix.arch != 'arm64' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dokit-${{ env.dokitVersion }}.portable path: ${{ runner.temp }}/portable @@ -462,7 +462,7 @@ jobs: /usr/bin/env bash ./artifacts/removeHtmlDates.sh working-directory: ${{ runner.temp }} - name: Upload HTML coverage report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-report path: "${{ runner.temp }}/coverage" diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index cbe12b188..b1907d20d 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -26,13 +26,13 @@ jobs: cmake -D "DOXYGEN_EXECUTABLE=$RUNNER_TEMP/doxygen-${DOXYGEN_VERSION}/bin/doxygen" -D "QT_TAGFILES_PATH=/usr/share/qt5/doc" -S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP" cmake --build "$RUNNER_TEMP" --target doc doc-internal - name: Upload public docs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: public-docs path: "${{ runner.temp }}/doc/public" if-no-files-found: error - name: Upload internal docs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: internal-docs path: "${{ runner.temp }}/doc/internal" diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml index cac16d3d5..79cd2b48c 100644 --- a/.github/workflows/static.yaml +++ b/.github/workflows/static.yaml @@ -44,7 +44,7 @@ jobs: --report-dir="$RUNNER_TEMP/report" --source-dir="$GITHUB_WORKSPACE" - name: Upload Report if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Cppcheck HTML Report path: "${{ runner.temp }}/report"