Skip to content
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
32 changes: 0 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,35 +91,3 @@ jobs:

- name: Test generated DTS
run: npm run test:dts

- name: Pack npm tarball
if: ${{ github.repository_owner == 'apache' }}
id: pack-tarball
run: |
export PR_PREVIEW_DIR='echarts-pr-preview'
mkdir -p $PR_PREVIEW_DIR
npm pack --pack-destination $PR_PREVIEW_DIR
echo "PR_PREVIEW_DIR=$PR_PREVIEW_DIR" >> $GITHUB_ENV

- name: Save PR metadata and dist files
if: ${{ steps.pack-tarball.outcome == 'success' }}
id: save-pr-data
env:
PR_NUMBER: ${{ github.event.number }}
PR_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
PR_PREVIEW_DIR: ${{ env.PR_PREVIEW_DIR }}
run: |
cd $PR_PREVIEW_DIR
echo $PR_NUMBER > ./pr_number
echo $PR_COMMIT_SHA > ./pr_commit_sha
find . -type f -regex ".*\.tgz" -exec tar xvzf {} \;
rm -f *.tgz
echo -e "Dist files: \n$(ls -l)"

- uses: actions/upload-artifact@v6
if: ${{ steps.save-pr-data.outcome == 'success' }}
with:
name: pr_preview
path: ${{ env.PR_PREVIEW_DIR }}
retention-days: 1
if-no-files-found: error
78 changes: 0 additions & 78 deletions .github/workflows/pr-preview.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/source-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

# Archive before run others to avoid packing unknown files.
- name: Archive source release
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
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@v7
uses: actions/download-artifact@v8
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-src
path: tmp/echarts
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/teardown-pr-preview.yml

This file was deleted.

Loading