Skip to content

Commit

Permalink
ci: fix ui build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Jan 26, 2025
1 parent aff7ca3 commit 5c7fb2f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,17 @@ jobs:
run: |
cd ./ui
npm install npm -g
npm ci --no-optional
npm ci
- name: Build and zip UI-Plugin
run : |
cd ./ui
UI_VERSION=$(jq -r .version package.json)
npm run build-ci
cd dist/apps/tedge-container-plugin-ui
zip -r -q "../../../../dist/tedge-container-plugin-ui_${UI_VERSION}.zip" *
npm run build
mv dist/tedge-container-plugin-ui.zip "dist/tedge-container-plugin-ui_${UI_VERSION}.zip"
- name: Upload
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload "${{ github.ref_name }}" dist/tedge-container-plugin-ui_*.zip
gh release upload "${{ github.ref_name }}" ui/dist/tedge-container-plugin-ui_*.zip

0 comments on commit 5c7fb2f

Please sign in to comment.