File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 4545 PUBLISH_OWNER : ${{ secrets.PUBLISH_OWNER }}
4646 run : |
4747 ./ci/publish.sh ./dist --repo "$PUBLISH_REPO" --owner "$PUBLISH_OWNER"
48+
49+ ui :
50+ needs : [goreleaser]
51+ runs-on : ubuntu-latest
52+ steps :
53+ - name : Checkout
54+ uses : actions/checkout@v4
55+ with :
56+ fetch-depth : 0
57+
58+ - uses : actions/setup-node@v4
59+ with :
60+ node-version : 18
61+ - name : Install node.js dependencies
62+ run : |
63+ cd ./ui
64+ npm install npm -g
65+ npm ci --no-optional
66+
67+ - name : Build and zip UI-Plugin
68+ run : |
69+ cd ./ui
70+ UI_VERSION=$(jq -r .version package.json)
71+ npm run build-ci
72+ cd dist/apps/tedge-container-plugin-ui
73+ zip -r -q "../../../../dist/tedge-container-plugin-ui_${UI_VERSION}.zip" *
74+
75+ - name : Upload
76+ env :
77+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78+ run : |
79+ gh release upload "${{ github.ref_name }}" dist/tedge-container-plugin-ui_*.zip
You can’t perform that action at this time.
0 commit comments