File tree Expand file tree Collapse file tree 2 files changed +33
-9
lines changed
Expand file tree Collapse file tree 2 files changed +33
-9
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,28 @@ jobs:
2121 cache : maven
2222 - name : Build maven-osgi-bundles
2323 working-directory : ./cs-studio
24- run : mvn verify -f maven-osgi-bundles/pom.xml -Dcs-studio=false -Declipse=false -Dtycho.localArtifacts=ignore
24+ run : mvn verify -T8 - f maven-osgi-bundles/pom.xml -Dcs-studio=false -Declipse=false -Dtycho.localArtifacts=ignore
2525 - name : Build cs-studio
2626 working-directory : ./cs-studio
27- run : mvn verify -Dcs-studio=false -Declipse=false -Dtycho.localArtifacts=ignore -Dcsstudio.composite.repo=p2repo -DskipTests=true
28- - name : Upload artefact
27+ run : mvn verify -T8 - Dcs-studio=false -Declipse=false -Dtycho.localArtifacts=ignore -Dcsstudio.composite.repo=p2repo -DskipTests=true
28+ - name : Upload products
2929 uses : actions/upload-artifact@v4
3030 with :
31- name : cs-studio
31+ name : cs-studio-products
32+ path : |
33+ cs-studio/repository/target/products/**
34+ compression-level : 0
35+ if-no-files-found : error
36+ retention-days : 3
37+ - name : Upload p2 repo
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : cs-studio-p2
3241 path : |
3342 cs-studio
43+ !cs-studio/repository/target/products/**
44+ !cs-studio/build
45+ !cs-studio/workspace
46+ compression-level : 0
3447 if-no-files-found : error
3548 retention-days : 3
Original file line number Diff line number Diff line change 1111 steps :
1212 - uses : actions/download-artifact@v4
1313 with :
14- name : cs-studio
15- path : cs-studio-release/
14+ name : cs-studio-p2
15+ path : cs-studio-p2/
16+ - uses : actions/download-artifact@v4
17+ with :
18+ name : cs-studio-products
19+ path : cs-studio-products/
1620 - name : Create GitHub Release
1721 env :
1822 GITHUB_TOKEN : ${{ github.token }}
@@ -23,11 +27,18 @@ jobs:
2327 --notes ""
2428 - name : Zip release
2529 run : >-
26- zip -r cs-studio.zip cs-studio-release
27- - name : Upload artifacts to GitHub Release
30+ zip -r cs-studio-p2.zip cs-studio-p2
31+ - name : Upload p2 to GitHub Release
32+ env :
33+ GITHUB_TOKEN : ${{ github.token }}
34+ run : >-
35+ gh release upload
36+ '${{ github.ref_name }}' cs-studio-p2.zip
37+ --repo '${{ github.repository }}'
38+ - name : Upload products to GitHub Release
2839 env :
2940 GITHUB_TOKEN : ${{ github.token }}
3041 run : >-
3142 gh release upload
32- '${{ github.ref_name }}' cs-studio.zip
43+ '${{ github.ref_name }}' cs-studio-products/* .zip
3344 --repo '${{ github.repository }}'
You can’t perform that action at this time.
0 commit comments