Skip to content

Commit

Permalink
chore: build virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
Maidang1 committed Jul 23, 2024
1 parent e1cb1dd commit 2c33909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ jobs:
for package in dsv react-components virtual yaml strip image url icons
do
folder_path="/tmp/artifacts/${{github.sha}}-${abi}-${package}"
if [ -d "${folder_path}"] && [ -n "$(ls -A $folder_path)" ]; then
if [ -d "${folder_path}" ] && [ -n "$(ls -A $folder_path)" ]; then
mv /tmp/artifacts/${{ github.sha }}-${abi}-${package}/* ./packages/${package}/npm/${abi}
ls -R $folder_path
ls -R ./packages/${package}/npm/${abi}
test -f ./packages/${package}/npm/${abi}/index.farm
else
echo "${folder_path} is empty"
ls -R $folder_path
fi
done
done
Expand Down
2 changes: 1 addition & 1 deletion packages/virtual/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Inspired By [@rollup/plugin-virtual](https://www.npmjs.com/package/@rollup/plugi
## install

```bash
pnpm add @farmfe/plugin-virtual --save-dev # or yarn add @farmfe/plugin-virtual --dev
pnpm add @farmfe/plugin-virtual --save-dev # or yarn add @farmfe/plugin-virtual --save-dev
```

## Usage
Expand Down

0 comments on commit 2c33909

Please sign in to comment.