From cdf0c72fe142a53a06b34a7f69f25b5d501495c3 Mon Sep 17 00:00:00 2001 From: plainheart Date: Sat, 9 Mar 2024 17:19:18 +0800 Subject: [PATCH 1/3] chore: update workflow deps --- .github/workflows/ci.yml | 4 ++-- .github/workflows/source-release.yml | 10 +++++----- .github/workflows/stale.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a15bd6348..c94954fd5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - name: Cache node modules id: cache-dep - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -76,7 +76,7 @@ jobs: - name: Cache node modules id: cache-dep - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: diff --git a/.github/workflows/source-release.yml b/.github/workflows/source-release.yml index 5719131170..17ae23830c 100644 --- a/.github/workflows/source-release.yml +++ b/.github/workflows/source-release.yml @@ -26,7 +26,7 @@ jobs: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Cache node modules - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -44,7 +44,7 @@ jobs: --out tmp/materials - name: Archive materials - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials path: | @@ -72,7 +72,7 @@ jobs: # Get RELEASE_NOTE.txt and pack it into zip. - name: Download materials - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials @@ -80,7 +80,7 @@ jobs: # Archive before run others to avoid packing unknown files. - name: Archive source release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: apache-echarts-${{env.RELEASE_VERSION}}-src path: | @@ -123,7 +123,7 @@ jobs: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Download source release - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: apache-echarts-${{env.RELEASE_VERSION}}-src path: tmp/echarts diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 5cf94e3b0c..ff40189308 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -14,7 +14,7 @@ jobs: if: ${{ github.repository_owner == 'apache' }} steps: - name: Close Stale Issues - uses: actions/stale@v6 + uses: actions/stale@v9 with: days-before-stale: 730 days-before-close: 7 From 492a3f2e9ccd592c56a3d3c3e2dcc012944b628a Mon Sep 17 00:00:00 2001 From: plainheart Date: Sat, 9 Mar 2024 17:31:45 +0800 Subject: [PATCH 2/3] chore: update workflow deps --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c94954fd5e..bf919b047f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,7 +120,7 @@ jobs: rm -f *.tgz echo -e "Dist files: \n$(ls -l)" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ steps.save-pr-data.outcome == 'success' }} with: name: pr_preview From f9f324956044b85684021ca4e1c187bdc59d5a9e Mon Sep 17 00:00:00 2001 From: plainheart Date: Sat, 9 Mar 2024 17:38:02 +0800 Subject: [PATCH 3/3] chore: update workflow deps --- .github/workflows/pr-preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 70ca648a0b..c01f1d2aa2 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Determine if workflow build job is successful id: check-build-success - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: |