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(build, ci): add CN version instead of ekuiper version #445

Merged
merged 1 commit into from
Jun 15, 2023
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
16 changes: 8 additions & 8 deletions .github/workflows/build_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,24 @@ jobs:
asset_path: ./neuron-dashboard.zip
asset_name: neuron-dashboard.zip
asset_content_type: application/zip
- name: build-lite
- name: build-CN
run: |
yarn
yarn build:norules
- name: create lite package
yarn build:CN
- name: create CN package
run: |
touch dist/version
echo "github_ref: $GITHUB_REF" >> dist/version
echo "github_sha: $GITHUB_SHA" >> dist/version
zip -rq neuron-dashboard-lite.zip ./dist
- name: Upload Lite Release Asset
zip -rq neuron-dashboard-CN.zip ./dist
- name: Upload CN Release Asset
if: startsWith(github.ref, 'refs/tags/')
id: upload-lite-release-asset
id: upload-CN-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./neuron-dashboard-lite.zip
asset_name: neuron-dashboard-lite.zip
asset_path: ./neuron-dashboard-CN.zip
asset_name: neuron-dashboard-CN.zip
asset_content_type: application/zip
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
"scripts": {
"serve": "vue-cli-service serve",
"dev:pc": "export VUE_APP_HOST=http://localhost:7003 && yarn serve",
"dev:norules": "export VUE_APP_HOST=http://localhost:7003 && export VUE_APP_SHOW_EKUIPER=false && yarn serve",
"dev:server": "export VUE_APP_HOST=ws://iot-platform.cloud:6170 && yarn serve",
"dev:test": "export VUE_APP_HOST=http://124.70.166.104:7000 && yarn serve",
"dev:multiLang": "export VUE_APP_HOST=http://124.70.166.104:7000 && export VUE_APP_MULTI_LANG=true && yarn serve",
"dev:CN": "export VUE_APP_HOST=http://124.70.166.104:7000 && export VUE_APP_MULTI_LANG=true && yarn serve",
"build": "vue-cli-service build",
"build:norules": "VUE_APP_SHOW_EKUIPER=false vue-cli-service build",
"build:multiLang": "VUE_APP_MULTI_LANG=true vue-cli-service build",
"build:CN": "VUE_APP_MULTI_LANG=true vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
Expand Down