[_] workflow

This commit is contained in:
Max 2022-12-16 13:33:53 +08:00
parent 8dec84ac4e
commit 29b269c971
3 changed files with 18 additions and 19 deletions

View file

@ -71,11 +71,12 @@ jobs:
ref: 5e91d3d9dcabd2986f901b6b31590e49fc3c4dd8
path: v8go
- name: Checkout XGen v0.9
uses: actions/checkout@v2
- name: Download XGen v0.9
uses: dsaltares/fetch-gh-release-asset@master
with:
repository: yaoapp/xgen-deprecated
path: xgen-v0.9
repo: "yaoapp/xgen-deprecated"
version: "tags/v0.9.0"
file: "xgen-v0.9-dist.tar.gz"
- name: Checkout XGen v1.0
uses: actions/checkout@v2
@ -92,11 +93,13 @@ jobs:
- name: Move Kun, Xun, Gou, UI, V8Go
run: |
tar xvfz xgen-v0.9-dist.tar.gz
rm xgen-v0.9-dist.tar.gz
mv kun ../
mv xun ../
mv gou ../
mv v8go ../
mv xgen-v0.9 ../
mv v0.9 ../xgen-v0.9
mv xgen-v1.0 ../
mv yao-init ../
ls -l .

View file

@ -66,11 +66,12 @@ jobs:
ref: 5e91d3d9dcabd2986f901b6b31590e49fc3c4dd8
path: v8go
- name: Checkout XGen v0.9
uses: actions/checkout@v2
- name: Download XGen v0.9
uses: dsaltares/fetch-gh-release-asset@master
with:
repository: yaoapp/xgen-deprecated
path: xgen-v0.9
repo: "yaoapp/xgen-deprecated"
version: "tags/v0.9.0"
file: "xgen-v0.9-dist.tar.gz"
- name: Checkout XGen v1.0
uses: actions/checkout@v2
@ -87,11 +88,13 @@ jobs:
- name: Move Kun, Xun, Gou, UI, V8Go
run: |
tar xvfz xgen-v0.9-dist.tar.gz
rm xgen-v0.9-dist.tar.gz
mv kun ../
mv xun ../
mv gou ../
mv v8go ../
mv xgen-v0.9 ../
mv v0.9 ../xgen-v0.9
mv xgen-v1.0 ../
mv yao-init ../
ls -l .

View file

@ -165,11 +165,8 @@ bindata:
# make artifacts-linux
.PHONY: artifacts-linux
artifacts-linux: clean
mkdir -p dist/release
# Building XGEN v0.9
sed -ie "s/url('\/icon/url('\/xiang\/icon/g" ../xgen-v0.9/public/icon/md_icon.css
cd ../xgen-v0.9 && npm install && npm run build
mkdir -p dist/release
# Building XGEN v1.0
export NODE_ENV=production
@ -218,13 +215,9 @@ artifacts-linux: clean
# make artifacts-macos
.PHONY: artifacts-macos
artifacts-macos: clean
mkdir -p dist/release
# Building XGEN v0.9
sed -ie "s/url('\/icon/url('\/xiang\/icon/g" ../xgen-v0.9/public/icon/md_icon.css
cd ../xgen-v0.9 && npm install && npm run build
# Building XGEN v1.0
export NODE_ENV=production
rm -f ../xgen-v1.0/pnpm-lock.yaml