Update to use node16 actions per github advice.

This commit is contained in:
Johny Mattsson 2022-10-11 15:33:32 +11:00 committed by Johny Mattsson
parent 38ccd7b2ba
commit cad125c477
1 changed files with 3 additions and 3 deletions

View File

@ -15,14 +15,14 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Prepare cache key - name: Prepare cache key
run: git rev-parse HEAD:sdk/esp32-esp-idf > idf.rev run: git rev-parse HEAD:sdk/esp32-esp-idf > idf.rev
shell: bash shell: bash
- name: Cache Espressif tools - name: Cache Espressif tools
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.espressif path: ~/.espressif
key: ${{ runner.os }}-espressif-tools-${{ hashFiles('idf.rev') }} key: ${{ runner.os }}-espressif-tools-${{ hashFiles('idf.rev') }}
@ -58,7 +58,7 @@ jobs:
echo lua_build_opts="$(expr "$(./build/luac_cross/luac.cross -v)" : '.*\[\(.*\)\]')" >> $GITHUB_ENV echo lua_build_opts="$(expr "$(./build/luac_cross/luac.cross -v)" : '.*\[\(.*\)\]')" >> $GITHUB_ENV
shell: bash shell: bash
- name: Upload luac.cross - name: Upload luac.cross
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
if: ${{ success() }} if: ${{ success() }}
with: with:
name: luac.cross-${{ env.lua_build_opts }}-${{ matrix.target }} name: luac.cross-${{ env.lua_build_opts }}-${{ matrix.target }}