Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update workflow deps #19697

Merged
merged 3 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/source-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down Expand Up @@ -72,15 +72,15 @@ 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

# TODO Check release version is RC

# 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: |
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down