From ab5d4f0e20fa13b1f4dcdc4f8996c6bb82c13cdc Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Tue, 15 Nov 2022 16:39:24 +1000 Subject: [PATCH] chore(github): Node.js 12 based actions deprecated (#2513) * chore(github): Node.js 12 based actions deprecated * chore: Remove more dependency ver warnings - `jurplel/install-qt-action@v3` finally released - `actions/cache@v1` is thus no longer needed, so its warning gone also - leaving on only `maxim-lobanov/setup-xcode` remaining --- .github/workflows/actions.yml | 6 +++--- .github/workflows/linux_cpn.yml | 4 ++-- .github/workflows/macosx_cpn.yml | 6 +++--- .github/workflows/nightly.yml | 4 ++-- .github/workflows/win-cpn-32.yml | 16 +++++----------- .github/workflows/win_cpn-64.yml | 16 +++++----------- 6 files changed, 20 insertions(+), 32 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 881e18961..55048a0ba 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -71,7 +71,7 @@ jobs: - ${{ github.workspace }}:/src steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive # fetch-depth: 0 # https://github.com/actions/checkout#Fetch-all-history-for-all-tags-and-branches @@ -112,7 +112,7 @@ jobs: - ${{ github.workspace }}:/src steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive @@ -128,7 +128,7 @@ jobs: run: echo "artifact_name=edgetx-firmware-${GITHUB_REF##*/}" >> $GITHUB_ENV - name: Package firmware ${{ matrix.target }} - uses: 'actions/upload-artifact@v2' + uses: actions/upload-artifact@v3 with: name: "${{ env.artifact_name }}" path: | diff --git a/.github/workflows/linux_cpn.yml b/.github/workflows/linux_cpn.yml index cf7f20ee6..01dc644e1 100644 --- a/.github/workflows/linux_cpn.yml +++ b/.github/workflows/linux_cpn.yml @@ -41,7 +41,7 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive @@ -57,7 +57,7 @@ jobs: run: echo "artifact_name=edgetx-cpn-linux-${GITHUB_REF##*/}" >> $GITHUB_ENV - name: Archive production artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "${{ env.artifact_name }}" path: ${{github.workspace}}/output diff --git a/.github/workflows/macosx_cpn.yml b/.github/workflows/macosx_cpn.yml index cf36e3c11..7e817f8eb 100644 --- a/.github/workflows/macosx_cpn.yml +++ b/.github/workflows/macosx_cpn.yml @@ -47,7 +47,7 @@ jobs: xcode-version: '11.7' - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive @@ -62,7 +62,7 @@ jobs: run: cmake -E make_directory ${{github.workspace}}/build - name: Install Qt - uses: jurplel/install-qt-action@v2 + uses: jurplel/install-qt-action@v3 with: version: ${{ env.QT_VERSION }} setup-python: 'false' @@ -112,7 +112,7 @@ jobs: run: echo "artifact_name=edgetx-cpn-osx-${GITHUB_REF##*/}" >> $GITHUB_ENV - name: Archive production artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "${{ env.artifact_name }}" path: ${{github.workspace}}/output diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 718a49409..bf03ab4ee 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -39,7 +39,7 @@ jobs: - ${{ github.workspace }}:/src steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive @@ -50,7 +50,7 @@ jobs: run: ./tools/build-gh.sh - name: Package firmware ${{ matrix.target }} - uses: 'actions/upload-artifact@v2' + uses: actions/upload-artifact@v3 with: name: edgetx-firmware-nightly path: | diff --git a/.github/workflows/win-cpn-32.yml b/.github/workflows/win-cpn-32.yml index 1a7e1d7d0..2b43c2326 100644 --- a/.github/workflows/win-cpn-32.yml +++ b/.github/workflows/win-cpn-32.yml @@ -60,22 +60,16 @@ jobs: mingw-w64-i686-openssl python -m pip install clang - - name: Cache Qt - id: cache-qt - uses: actions/cache@v1 # not v2! - with: - path: ../Qt - key: win32-QtCache - - name: Install Qt - uses: jurplel/install-qt-action@v2 + uses: jurplel/install-qt-action@v3 with: - cached: ${{ steps.cache-qt.outputs.cache-hit }} + cache: true + cache-key-prefix: 'install-qt-action-win32' version: ${{ env.QT_VERSION }} arch: ${{ env.MINGW_VERSION }} - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive @@ -91,7 +85,7 @@ jobs: run: echo "artifact_name=edgetx-cpn-win32-${GITHUB_REF##*/}" >> $GITHUB_ENV - name: Archive production artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "${{ env.artifact_name }}" path: ${{github.workspace}}/output diff --git a/.github/workflows/win_cpn-64.yml b/.github/workflows/win_cpn-64.yml index cdd3e782a..e20ce7c49 100644 --- a/.github/workflows/win_cpn-64.yml +++ b/.github/workflows/win_cpn-64.yml @@ -74,22 +74,16 @@ jobs: mingw-w64-x86_64-openssl python -m pip install clang - - name: Cache Qt - id: cache-qt - uses: actions/cache@v1 # not v2! - with: - path: ../Qt - key: win64-QtCache - - name: Install Qt - uses: jurplel/install-qt-action@v2 + uses: jurplel/install-qt-action@v3 with: - cached: ${{ steps.cache-qt.outputs.cache-hit }} + cache: true + cache-key-prefix: 'install-qt-action-win64' version: ${{ env.QT_VERSION }} arch: ${{ env.MINGW_VERSION }} - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive @@ -106,7 +100,7 @@ jobs: run: echo "artifact_name=edgetx-cpn-win64-${GITHUB_REF##*/}" >> $GITHUB_ENV - name: Archive production artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "${{ env.artifact_name }}" path: ${{github.workspace}}/output