From 847cda76f0b04020510964ca14cdecb6c3b3e1d5 Mon Sep 17 00:00:00 2001 From: mosfet80 Date: Sun, 7 Jan 2024 01:59:35 +0100 Subject: [PATCH] Update sub_buildWindows.yml switch to python 3.9 updated upload-artifact to v4 updated actions-checkout to v4 Update sub_buildWindows.yml Update CI_cleanup.yml The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements. Update sub_buildMacOSCondaApple.yml update artifact to v4 Update sub_buildMacOSCondaIntel.yml updated artifact to v4 Update sub_buildUbuntu2004.yml updated artifact to v4 Update sub_buildUbuntu2204Conda.yml updated artifact to v4 Update sub_buildWindows.yml updated artifact to v4 Update sub_buildWindowsConda.yml Update sub_lint.yml updated artifact to v4 Update sub_wrapup.yml update artifact to v4 Update sub_prepare.yml updated artifact to v4 --- .github/workflows/CI_cleanup.yml | 2 +- .github/workflows/sub_buildMacOSCondaApple.yml | 4 ++-- .github/workflows/sub_buildMacOSCondaIntel.yml | 4 ++-- .github/workflows/sub_buildUbuntu2004.yml | 4 ++-- .github/workflows/sub_buildUbuntu2204Conda.yml | 4 ++-- .github/workflows/sub_buildWindows.yml | 4 ++-- .github/workflows/sub_buildWindowsConda.yml | 2 +- .github/workflows/sub_lint.yml | 4 ++-- .github/workflows/sub_prepare.yml | 4 ++-- .github/workflows/sub_wrapup.yml | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/CI_cleanup.yml b/.github/workflows/CI_cleanup.yml index 850f293d00..6a797e7834 100644 --- a/.github/workflows/CI_cleanup.yml +++ b/.github/workflows/CI_cleanup.yml @@ -103,7 +103,7 @@ jobs: done - name: Upload logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }}-Logs path: | diff --git a/.github/workflows/sub_buildMacOSCondaApple.yml b/.github/workflows/sub_buildMacOSCondaApple.yml index 3a7a8ebb0e..58ff621cdb 100644 --- a/.github/workflows/sub_buildMacOSCondaApple.yml +++ b/.github/workflows/sub_buildMacOSCondaApple.yml @@ -151,7 +151,7 @@ jobs: reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: Upload logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactBasename }}-Logs path: | @@ -159,7 +159,7 @@ jobs: /var/crash/*FreeCAD* - name: Upload report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.reportfilename }} path: | diff --git a/.github/workflows/sub_buildMacOSCondaIntel.yml b/.github/workflows/sub_buildMacOSCondaIntel.yml index b6f497428e..c270f1469c 100644 --- a/.github/workflows/sub_buildMacOSCondaIntel.yml +++ b/.github/workflows/sub_buildMacOSCondaIntel.yml @@ -151,7 +151,7 @@ jobs: reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: Upload logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactBasename }}-Logs path: | @@ -159,7 +159,7 @@ jobs: /var/crash/*FreeCAD* - name: Upload report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.reportfilename }} path: | diff --git a/.github/workflows/sub_buildUbuntu2004.yml b/.github/workflows/sub_buildUbuntu2004.yml index 772ea1c35d..e5c4d0c357 100644 --- a/.github/workflows/sub_buildUbuntu2004.yml +++ b/.github/workflows/sub_buildUbuntu2004.yml @@ -239,7 +239,7 @@ jobs: reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: Upload logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactBasename }}-Logs path: | @@ -247,7 +247,7 @@ jobs: /var/crash/*FreeCAD* - name: Upload report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.reportfilename }} path: | diff --git a/.github/workflows/sub_buildUbuntu2204Conda.yml b/.github/workflows/sub_buildUbuntu2204Conda.yml index bb3ae8e32d..33d8d32741 100644 --- a/.github/workflows/sub_buildUbuntu2204Conda.yml +++ b/.github/workflows/sub_buildUbuntu2204Conda.yml @@ -179,7 +179,7 @@ jobs: reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: Upload logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactBasename }}-Logs path: | @@ -187,7 +187,7 @@ jobs: /var/crash/*FreeCAD* - name: Upload report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.reportfilename }} path: | diff --git a/.github/workflows/sub_buildWindows.yml b/.github/workflows/sub_buildWindows.yml index 03e700d6e4..c4fdc21ccf 100644 --- a/.github/workflows/sub_buildWindows.yml +++ b/.github/workflows/sub_buildWindows.yml @@ -63,7 +63,7 @@ jobs: steps: - name: Checking out source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true - name: Make needed directories, files and initializations @@ -142,7 +142,7 @@ jobs: . ${{ env.builddir }}\bin\FreeCADCmd -t 0 # 2>&1 | tee -filepath ${{ env.logdir }}\integrationTests.log - name: Upload logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactBasename }}-Logs path: | diff --git a/.github/workflows/sub_buildWindowsConda.yml b/.github/workflows/sub_buildWindowsConda.yml index d2c0bde34c..cd5bd8e1a2 100644 --- a/.github/workflows/sub_buildWindowsConda.yml +++ b/.github/workflows/sub_buildWindowsConda.yml @@ -121,7 +121,7 @@ jobs: . build\release\bin\FreeCADCmd -t 0 # 2>&1 | tee -filepath ${{ env.logdir }}/integrationTests.log - name: Upload logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactBasename }}-Logs path: | diff --git a/.github/workflows/sub_lint.yml b/.github/workflows/sub_lint.yml index 7495198fea..2c50283f17 100644 --- a/.github/workflows/sub_lint.yml +++ b/.github/workflows/sub_lint.yml @@ -761,7 +761,7 @@ jobs: [ $clazyQT6Errors -eq 0 ] - name: Upload logs and fixes if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactBasename }}-Logs path: | @@ -769,7 +769,7 @@ jobs: ${{ env.fixesdir }} - name: Upload report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.reportfilename }} path: | diff --git a/.github/workflows/sub_prepare.yml b/.github/workflows/sub_prepare.yml index 7fcaa7a27c..d0d10edf58 100644 --- a/.github/workflows/sub_prepare.yml +++ b/.github/workflows/sub_prepare.yml @@ -148,14 +148,14 @@ jobs: echo "" >> $GITHUB_OUTPUT - name: Upload logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactBasename }}-Logs path: | ${{ env.logdir }} - name: Upload report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.reportfilename }} path: | diff --git a/.github/workflows/sub_wrapup.yml b/.github/workflows/sub_wrapup.yml index 5bf7ee5d7e..5a2fe1662b 100644 --- a/.github/workflows/sub_wrapup.yml +++ b/.github/workflows/sub_wrapup.yml @@ -54,7 +54,7 @@ jobs: run: | mkdir -p ${{ env.artifactsDownloadDir }} - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ${{ env.artifactsDownloadDir }} - name: Save input data to file