Skip to content

Commit 5c7fb2f

Browse files
committed
ci: fix ui build workflow
1 parent aff7ca3 commit 5c7fb2f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,17 @@ jobs:
6262
run: |
6363
cd ./ui
6464
npm install npm -g
65-
npm ci --no-optional
65+
npm ci
6666
6767
- name: Build and zip UI-Plugin
6868
run : |
6969
cd ./ui
7070
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" *
71+
npm run build
72+
mv dist/tedge-container-plugin-ui.zip "dist/tedge-container-plugin-ui_${UI_VERSION}.zip"
7473
7574
- name: Upload
7675
env:
7776
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7877
run: |
79-
gh release upload "${{ github.ref_name }}" dist/tedge-container-plugin-ui_*.zip
78+
gh release upload "${{ github.ref_name }}" ui/dist/tedge-container-plugin-ui_*.zip

0 commit comments

Comments
 (0)