From 10690e92d4292bd207abee97fb77dfc4c9ec2414 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Tue, 27 Feb 2024 19:59:58 +0200 Subject: [PATCH] Update action scripts to latest versions Also implements the breaking changes in upload/download artifacts --- .github/workflows/cron.yml | 2 +- .github/workflows/push.yml | 11 ++++++----- .github/workflows/repository_dispatch.yml | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 5674d9a..00405c4 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -27,7 +27,7 @@ jobs: matrix: idf_branch: [release/v5.1, release/v4.4] #, release/v3.3] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install dependencies diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 75526b2..c3edd52 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -20,7 +20,7 @@ jobs: target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2] fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: bash ./tools/prepare-ci.sh - name: Build Libs for ${{ matrix.target }} @@ -29,12 +29,12 @@ jobs: if: failure() uses: actions/upload-artifact@v4 with: - name: build + name: build-${{ matrix.target }} path: build - name: Upload archive uses: actions/upload-artifact@v4 with: - name: artifacts + name: artifacts-${{ matrix.target }} path: dist combine-artifacts: @@ -43,10 +43,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: artifacts path: dist + pattern: artifacts-* + merge-multiple: true - shell: bash run: | mkdir -p out diff --git a/.github/workflows/repository_dispatch.yml b/.github/workflows/repository_dispatch.yml index 6781dc0..51ddce9 100644 --- a/.github/workflows/repository_dispatch.yml +++ b/.github/workflows/repository_dispatch.yml @@ -7,7 +7,7 @@ jobs: name: Dispatch Event runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: bash ./tools/prepare-ci.sh - name: Handle Event