Update action scripts to latest versions
Also implements the breaking changes in upload/download artifacts
This commit is contained in:
parent
4816623607
commit
10690e92d4
3 changed files with 8 additions and 7 deletions
2
.github/workflows/cron.yml
vendored
2
.github/workflows/cron.yml
vendored
|
|
@ -27,7 +27,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
idf_branch: [release/v5.1, release/v4.4] #, release/v3.3]
|
idf_branch: [release/v5.1, release/v4.4] #, release/v3.3]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
|
||||||
11
.github/workflows/push.yml
vendored
11
.github/workflows/push.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2]
|
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bash ./tools/prepare-ci.sh
|
run: bash ./tools/prepare-ci.sh
|
||||||
- name: Build Libs for ${{ matrix.target }}
|
- name: Build Libs for ${{ matrix.target }}
|
||||||
|
|
@ -29,12 +29,12 @@ jobs:
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build-${{ matrix.target }}
|
||||||
path: build
|
path: build
|
||||||
- name: Upload archive
|
- name: Upload archive
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifacts
|
name: artifacts-${{ matrix.target }}
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
combine-artifacts:
|
combine-artifacts:
|
||||||
|
|
@ -43,10 +43,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifacts
|
|
||||||
path: dist
|
path: dist
|
||||||
|
pattern: artifacts-*
|
||||||
|
merge-multiple: true
|
||||||
- shell: bash
|
- shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir -p out
|
mkdir -p out
|
||||||
|
|
|
||||||
2
.github/workflows/repository_dispatch.yml
vendored
2
.github/workflows/repository_dispatch.yml
vendored
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
name: Dispatch Event
|
name: Dispatch Event
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bash ./tools/prepare-ci.sh
|
run: bash ./tools/prepare-ci.sh
|
||||||
- name: Handle Event
|
- name: Handle Event
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue