Skip to content

Commit

Permalink
Github Actions: split up product artifacts by target os
Browse files Browse the repository at this point in the history
  • Loading branch information
ichsteffen committed May 30, 2024
1 parent 2c897db commit 863f465
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven
name: Build Eclipse RMF (based on Eclipse 2023_06) (Java CI with Maven)

on:
push:
Expand Down Expand Up @@ -38,26 +38,34 @@ jobs:
java-version: 17
maven-version: ${{ matrix.maven }}
- name: Build with Maven (bundles)
# run: mvn -B package --file pom.xml
run: |
cd org.eclipse.rmf.releng
mvn clean install -P platform-eclipse-2023-06
- name: Build with Maven (product)
run: |
cd org.eclipse.rmf.releng.product
mvn clean install -P platform-eclipse-2023-06
- name: Archive production artifacts
- name: Archive production artifacts (Win x86_64)
uses: actions/upload-artifact@v3
with:
name: distribution
name: org.eclipse.rmf.reqif10.pror.product-win32.win32.x86_64
path: |
org.eclipse.rmf.releng.product/target/products/org.eclipse.rmf.reqif10.pror.product-win32.win32.x86_64.zip
- name: Archive production artifacts (MacOS x86_64)
uses: actions/upload-artifact@v3
with:
name: org.eclipse.rmf.reqif10.pror.product-macosx.cocoa.x86_64
path: |
org.eclipse.rmf.releng.product/target/products/org.eclipse.rmf.reqif10.pror.product-macosx.cocoa.x86_64.tar.gz
- name: Archive production artifacts (Linux x86_64)
uses: actions/upload-artifact@v3
with:
name: org.eclipse.rmf.reqif10.pror.product-linux.gtk.x86_64
path: |
org.eclipse.rmf.releng.product/target/products/org.eclipse.rmf.reqif10.pror.product-linux.gtk.x86_64.tar.gz
# org.eclipse.rmf.releng.product/target/products/org.eclipse.rmf.reqif10.pror.product
# org.eclipse.rmf.releng.product/target/products/org.eclipse.rmf.reqif10.pror.product/win32/win32/x86_64/
# org.eclipse.rmf.releng.product/target/products/org.eclipse.rmf.reqif10.pror.product/linux/gtk/x86_64/
# org.eclipse.rmf.releng.product/target/products/org.eclipse.rmf.reqif10.pror.product/macosx/cocoa/x86_64/
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
Expand Down

0 comments on commit 863f465

Please sign in to comment.