Skip to content

Commit

Permalink
Merge pull request #10 from SoftwareAG/feature-migration-1019
Browse files Browse the repository at this point in the history
Feature migration 1019
  • Loading branch information
ck-c8y authored Feb 14, 2024
2 parents 185838c + 4d101ea commit 10bb19b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,16 @@ jobs:
# run: npm run lint

- name: Build
run: npm run build:ci
run: npm run build

- name: Zip build
run: |
cd dist/apps/sag-ps-pkg-analytics-extension
cd dist/sag-ps-pkg-analytics-extension
zip -r -q ../../build.zip *
cd ../../..
rm -r dist/apps
# ls analytics-ui/
# ls analytics-ui/dist/
# rm -r dist/*

- name: Upload build artifact UI
uses: actions/upload-artifact@v3
Expand All @@ -76,7 +78,7 @@ jobs:
if-no-files-found: error
retention-days: 1
path: |
analytics-ui/dist/build.zip
analytics-ui/build.zip
build_service:
needs: [build_ui]
Expand Down
2 changes: 1 addition & 1 deletion analytics-ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": {
"builder": "@c8y/devkit:build",
"options": {
"outputPath": "dist/analytics-ui",
"outputPath": "dist/sag-ps-pkg-analytics-extension",
"main": "src/main.ts",
"polyfills": [
"zone.js"
Expand Down
1 change: 0 additions & 1 deletion analytics-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"start:ab": "npm start -- --shell streaminganalytics",
"start:cockpit": "npm start -- --shell cockpit",
"build": "ng build",
"build:ci": "npm run build -- --ci",
"deploy": "ng deploy",
"locale-extract": "c8ycli locale-extract"
},
Expand Down

0 comments on commit 10bb19b

Please sign in to comment.