Skip to content

Commit 2ac1e9d

Browse files
authored
Merge pull request #21487 from pgoslatara/actup/update-actions-1768993350
chore: Update outdated GitHub Actions versions
2 parents bbda10e + dbd060e commit 2ac1e9d

7 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ jobs:
2525
run: |
2626
echo "FETCH_DEPTH=$(($PR_COMMIT_COUNT + 1))" >> $GITHUB_ENV
2727
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v6
2929
with:
3030
fetch-depth: ${{ env.FETCH_DEPTH }}
3131

3232
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v4
33+
uses: actions/setup-node@v6
3434
with:
3535
node-version: ${{ matrix.node-version }}
3636

3737
- name: Cache node modules
3838
id: cache-dep
39-
uses: actions/cache@v4
39+
uses: actions/cache@v5
4040
with:
4141
path: node_modules
4242
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
@@ -65,16 +65,16 @@ jobs:
6565
node-version: [18.x]
6666

6767
steps:
68-
- uses: actions/checkout@v4
68+
- uses: actions/checkout@v6
6969

7070
- name: Use Node.js ${{ matrix.node-version }}
71-
uses: actions/setup-node@v4
71+
uses: actions/setup-node@v6
7272
with:
7373
node-version: ${{ matrix.node-version }}
7474

7575
- name: Cache node modules
7676
id: cache-dep
77-
uses: actions/cache@v4
77+
uses: actions/cache@v5
7878
with:
7979
path: node_modules
8080
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
@@ -116,7 +116,7 @@ jobs:
116116
rm -f *.tgz
117117
echo -e "Dist files: \n$(ls -l)"
118118
119-
- uses: actions/upload-artifact@v4
119+
- uses: actions/upload-artifact@v6
120120
if: ${{ steps.save-pr-data.outcome == 'success' }}
121121
with:
122122
name: pr_preview

.github/workflows/nightly-next.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
node-version: [18.x]
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
with:
2323
ref: next
2424

2525
- name: Use Node.js ${{ matrix.node-version }}
26-
uses: actions/setup-node@v4
26+
uses: actions/setup-node@v6
2727
with:
2828
registry-url: https://registry.npmjs.org/
2929
node-version: ${{ matrix.node-version }}

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
node-version: [18.x]
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222

2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v6
2525
with:
2626
registry-url: https://registry.npmjs.org/
2727
node-version: ${{ matrix.node-version }}

.github/workflows/pr-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Determine if workflow build job is successful
1515
id: check-build-success
16-
uses: actions/github-script@v7
16+
uses: actions/github-script@v8
1717
with:
1818
result-encoding: string
1919
script: |

.github/workflows/source-release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
node-version: [18.x]
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818

1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323

@@ -26,7 +26,7 @@ jobs:
2626
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2727
2828
- name: Cache node modules
29-
uses: actions/cache@v4
29+
uses: actions/cache@v5
3030
env:
3131
cache-name: cache-node-modules
3232
with:
@@ -44,7 +44,7 @@ jobs:
4444
--out tmp/materials
4545
4646
- name: Archive materials
47-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-artifact@v6
4848
with:
4949
name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials
5050
path: |
@@ -59,10 +59,10 @@ jobs:
5959
node-version: [18.x]
6060

6161
steps:
62-
- uses: actions/checkout@v4
62+
- uses: actions/checkout@v6
6363

6464
- name: Use Node.js ${{ matrix.node-version }}
65-
uses: actions/setup-node@v4
65+
uses: actions/setup-node@v6
6666
with:
6767
node-version: ${{ matrix.node-version }}
6868

@@ -72,15 +72,15 @@ jobs:
7272
7373
# Get RELEASE_NOTE.txt and pack it into zip.
7474
- name: Download materials
75-
uses: actions/download-artifact@v4
75+
uses: actions/download-artifact@v7
7676
with:
7777
name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials
7878

7979
# TODO Check release version is RC
8080

8181
# Archive before run others to avoid packing unknown files.
8282
- name: Archive source release
83-
uses: actions/upload-artifact@v4
83+
uses: actions/upload-artifact@v6
8484
with:
8585
name: apache-echarts-${{env.RELEASE_VERSION}}-src
8686
path: |
@@ -114,7 +114,7 @@ jobs:
114114

115115
steps:
116116
- name: Use Node.js ${{ matrix.node-version }}
117-
uses: actions/setup-node@v4
117+
uses: actions/setup-node@v6
118118
with:
119119
node-version: ${{ matrix.node-version }}
120120

@@ -123,7 +123,7 @@ jobs:
123123
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
124124
125125
- name: Download source release
126-
uses: actions/download-artifact@v4
126+
uses: actions/download-artifact@v7
127127
with:
128128
name: apache-echarts-${{env.RELEASE_VERSION}}-src
129129
path: tmp/echarts

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: ${{ github.repository_owner == 'apache' }}
1515
steps:
1616
- name: Close Stale Issues
17-
uses: actions/stale@v9
17+
uses: actions/stale@v10
1818
with:
1919
days-before-stale: 730
2020
days-before-close: 7

.github/workflows/update-notice-year.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
with:
1717
sparse-checkout: |
1818
.github/workflows/.scripts
1919
20-
- uses: actions/github-script@v7
20+
- uses: actions/github-script@v8
2121
with:
2222
script: |
2323
const updateNoticeYear = require('.github/workflows/.scripts/update-notice-year.js')

0 commit comments

Comments
 (0)