Skip to content

Commit 9d380fd

Browse files
committed
Generate products and p2 separately
1 parent 873e5c2 commit 9d380fd

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,24 @@ jobs:
2525
- name: Build cs-studio
2626
working-directory: ./cs-studio
2727
run: mvn verify -Dcs-studio=false -Declipse=false -Dtycho.localArtifacts=ignore -Dcsstudio.composite.repo=p2repo -DskipTests=true
28-
- name: Upload zip
28+
- name: Upload products
2929
uses: actions/upload-artifact@v4
3030
with:
31-
name: cs-studio
31+
name: product zips
3232
path: |
33-
cs-studio
33+
cs-studio/product/repository/target/products/*.zip
3434
compression-level: 0
3535
if-no-files-found: error
36+
retention-days: 10
37+
- name: Upload P2 repository
38+
uses: actions/upload-artifact@v4
39+
with:
40+
name: p2_repo
41+
path: |
42+
cs-studio/**/*.xml
43+
cs-studio/**/*.properties
44+
cs-studio/**/*.jar
45+
cs-studio/**/p2.index
46+
compression-level: 1
47+
if-no-files-found: error
48+
retention-days: 10

0 commit comments

Comments
 (0)