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:
@@ -71,7 +71,7 @@ jobs:
|
|||||||
- ${{ github.workspace }}:/src
|
- ${{ github.workspace }}:/src
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
# fetch-depth: 0 # https://github.com/actions/checkout#Fetch-all-history-for-all-tags-and-branches
|
# fetch-depth: 0 # https://github.com/actions/checkout#Fetch-all-history-for-all-tags-and-branches
|
||||||
@@ -112,7 +112,7 @@ jobs:
|
|||||||
- ${{ github.workspace }}:/src
|
- ${{ github.workspace }}:/src
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -128,7 +128,7 @@ jobs:
|
|||||||
run: echo "artifact_name=edgetx-firmware-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
run: echo "artifact_name=edgetx-firmware-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Package firmware ${{ matrix.target }}
|
- name: Package firmware ${{ matrix.target }}
|
||||||
uses: 'actions/upload-artifact@v2'
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ env.artifact_name }}"
|
name: "${{ env.artifact_name }}"
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
run: echo "artifact_name=edgetx-cpn-linux-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
run: echo "artifact_name=edgetx-cpn-linux-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ env.artifact_name }}"
|
name: "${{ env.artifact_name }}"
|
||||||
path: ${{github.workspace}}/output
|
path: ${{github.workspace}}/output
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
xcode-version: '11.7'
|
xcode-version: '11.7'
|
||||||
|
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
run: cmake -E make_directory ${{github.workspace}}/build
|
run: cmake -E make_directory ${{github.workspace}}/build
|
||||||
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
version: ${{ env.QT_VERSION }}
|
version: ${{ env.QT_VERSION }}
|
||||||
setup-python: 'false'
|
setup-python: 'false'
|
||||||
@@ -112,7 +112,7 @@ jobs:
|
|||||||
run: echo "artifact_name=edgetx-cpn-osx-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
run: echo "artifact_name=edgetx-cpn-osx-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ env.artifact_name }}"
|
name: "${{ env.artifact_name }}"
|
||||||
path: ${{github.workspace}}/output
|
path: ${{github.workspace}}/output
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- ${{ github.workspace }}:/src
|
- ${{ github.workspace }}:/src
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
run: ./tools/build-gh.sh
|
run: ./tools/build-gh.sh
|
||||||
|
|
||||||
- name: Package firmware ${{ matrix.target }}
|
- name: Package firmware ${{ matrix.target }}
|
||||||
uses: 'actions/upload-artifact@v2'
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: edgetx-firmware-nightly
|
name: edgetx-firmware-nightly
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
@@ -60,22 +60,16 @@ jobs:
|
|||||||
mingw-w64-i686-openssl
|
mingw-w64-i686-openssl
|
||||||
python -m pip install clang
|
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
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
cache: true
|
||||||
|
cache-key-prefix: 'install-qt-action-win32'
|
||||||
version: ${{ env.QT_VERSION }}
|
version: ${{ env.QT_VERSION }}
|
||||||
arch: ${{ env.MINGW_VERSION }}
|
arch: ${{ env.MINGW_VERSION }}
|
||||||
|
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -91,7 +85,7 @@ jobs:
|
|||||||
run: echo "artifact_name=edgetx-cpn-win32-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
run: echo "artifact_name=edgetx-cpn-win32-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ env.artifact_name }}"
|
name: "${{ env.artifact_name }}"
|
||||||
path: ${{github.workspace}}/output
|
path: ${{github.workspace}}/output
|
||||||
|
|||||||
@@ -74,22 +74,16 @@ jobs:
|
|||||||
mingw-w64-x86_64-openssl
|
mingw-w64-x86_64-openssl
|
||||||
python -m pip install clang
|
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
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
cache: true
|
||||||
|
cache-key-prefix: 'install-qt-action-win64'
|
||||||
version: ${{ env.QT_VERSION }}
|
version: ${{ env.QT_VERSION }}
|
||||||
arch: ${{ env.MINGW_VERSION }}
|
arch: ${{ env.MINGW_VERSION }}
|
||||||
|
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -106,7 +100,7 @@ jobs:
|
|||||||
run: echo "artifact_name=edgetx-cpn-win64-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
run: echo "artifact_name=edgetx-cpn-win64-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "${{ env.artifact_name }}"
|
name: "${{ env.artifact_name }}"
|
||||||
path: ${{github.workspace}}/output
|
path: ${{github.workspace}}/output
|
||||||
|
|||||||
Reference in New Issue
Block a user