Skip to content

Commit

Permalink
fix: 修复创建antdp报错
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenlingasMx committed Aug 24, 2023
1 parent a484d4c commit 5f05e2c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,24 +63,24 @@ jobs:
${{ steps.changelog.outputs.changelog }}
- run: echo ${{ steps.changelog.outputs.tag }}
- run: mkdir -p examples/website/build/zip
- run: mkdir -p examples/website/docs-dist/zip
- name: Compress antdp-base Example.
run: zip -r -y antdp-base.zip . -x "node_modules/*" -x "dist/*" -x "coverage/*" -x ".eslintcache" -x "sandbox.config.json" -x "package-lock.json"
working-directory: examples/antdp-base
- run: cp -rp examples/antdp-base/antdp-base.zip examples/website/build/zip
- run: cp -rp examples/antdp-base/antdp-base.zip examples/website/docs-dist/zip

- name: Compress basic Example.
run: zip -r -y basic.zip . -x "node_modules/*" -x ".umi/*" -x "dist/*" -x "coverage/*" -x ".eslintcache" -x "sandbox.config.json" -x "package-lock.json"
working-directory: examples/basic
- run: cp -rp examples/basic/basic.zip examples/website/build/zip
- run: cp -rp examples/basic/basic.zip examples/website/docs-dist/zip

- name: Compress basicjs Example.
run: zip -r -y basicjs.zip . -x "node_modules/*" -x ".umi/*" -x "dist/*" -x "coverage/*" -x ".eslintcache" -x "sandbox.config.json" -x "package-lock.json"
working-directory: examples/basicjs
- run: cp -rp examples/basicjs/basicjs.zip examples/website/build/zip
- run: cp -rp examples/basicjs/basicjs.zip examples/website/docs-dist/zip

- name: Add Download Page
working-directory: examples/website/build/zip
working-directory: examples/website/docs-dist/zip
run: |
ICON='<svg viewBox="0 0 1024 1024" width="14" height="14"><path d="M192 384h640a42.666667 42.666667 0 0 1 42.666667 42.666667v362.666666a42.666667 42.666667 0 0 1-42.666667 42.666667H192v106.666667a21.333333 21.333333 0 0 0 21.333333 21.333333h725.333334a21.333333 21.333333 0 0 0 21.333333-21.333333V308.821333L949.909333 298.666667h-126.528A98.048 98.048 0 0 1 725.333333 200.618667V72.661333L716.714667 64H213.333333a21.333333 21.333333 0 0 0-21.333333 21.333333v298.666667zM128 832H42.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V426.666667a42.666667 42.666667 0 0 1 42.666667-42.666667h85.333333V85.333333a85.333333 85.333333 0 0 1 85.333333-85.333333h530.026667L1024 282.453333V938.666667a85.333333 85.333333 0 0 1-85.333333 85.333333H213.333333a85.333333 85.333333 0 0 1-85.333333-85.333333v-106.666667z m32.661333-359.509333v38.4h147.072l-158.592 200.448V746.666667h226.176v-38.4H207.893333l158.208-200.064v-35.712h-205.44z m251.136 0V746.666667h44.928V472.490667h-44.928z m98.688 0V746.666667h44.928v-105.216h67.968c66.816 0 100.224-28.416 100.224-84.864 0-56.064-33.408-84.096-99.456-84.096h-113.664z m44.928 38.4h65.28c19.584 0 34.176 3.456 43.392 10.752 9.216 6.912 14.208 18.432 14.208 34.944 0 16.512-4.608 28.416-13.824 35.712-9.216 6.912-23.808 10.752-43.776 10.752h-65.28v-92.16z" fill="currentColor"></path></svg> '
CodeSandbox='https://codesandbox.io/s/github/antdpro/antdp/tree/master/examples/'
Expand Down

0 comments on commit 5f05e2c

Please sign in to comment.