mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-02-06 21:18:25 +08:00
Update to use node16 actions per github advice.
This commit is contained in:
parent
38ccd7b2ba
commit
cad125c477
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user