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
This commit is contained in:
Peter Feerick
2022-11-15 16:39:24 +10:00
committed by GitHub
parent 099e2adda9
commit ab5d4f0e20
6 changed files with 20 additions and 32 deletions
+3 -3
View File
@@ -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: |
+2 -2
View File
@@ -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
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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: |
+5 -11
View File
@@ -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
+5 -11
View File
@@ -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