diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index af08fe89..aeac9bcc 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -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 diff --git a/package.json b/package.json index 6adf7168..cfca2d32 100644 --- a/package.json +++ b/package.json @@ -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": {