|
1 |
| -# This workflow will build a Java project with Maven |
2 |
| -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven |
3 |
| - |
4 |
| -name: Java CI with Maven |
5 |
| - |
6 |
| -on: |
7 |
| - push: |
8 |
| - branches: [ master ] |
9 |
| - pull_request: |
10 |
| - branches: [ master ] |
11 |
| - |
12 |
| -jobs: |
13 |
| - build: |
14 |
| - |
15 |
| - runs-on: ubuntu-latest |
16 |
| - |
17 |
| - steps: |
18 |
| - - uses: actions/checkout@v2 |
19 |
| - - name: Set up JDK 17 |
20 |
| - uses: actions/setup-java@v2 |
21 |
| - with: |
22 |
| - java-version: '17' |
23 |
| - distribution: 'adopt' |
24 |
| - - name: Build with Maven |
25 |
| - run: mvn --no-transfer-progress verify -Pall,sloeber_release,NOSDK -Dtest=NightlyJenkins -DfailIfNoTests=false |
26 |
| - |
27 |
| - - name: Archive production artifacts |
28 |
| - uses: actions/upload-artifact@v2 |
29 |
| - with: |
30 |
| - name: Repository |
31 |
| - path: io.sloeber.updatesite/target/repository |
32 |
| - - name: Archive Windows 64 bit |
33 |
| - uses: actions/upload-artifact@v2 |
34 |
| - with: |
35 |
| - name: windows |
36 |
| - path: io.sloeber.product/target/products/io.sloeber.product/win32/win32/x86_64/ |
37 |
| - - name: Archive Linux 64 bit |
38 |
| - uses: actions/upload-artifact@v2 |
39 |
| - with: |
40 |
| - name: linux |
41 |
| - path: io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86_64/ |
42 |
| - - name: Archive Mac 64 bit |
43 |
| - uses: actions/upload-artifact@v2 |
44 |
| - with: |
45 |
| - name: macosx |
46 |
| - path: io.sloeber.product/target/products/io.sloeber.product/macosx/cocoa/x86_64 |
47 |
| - - name: Archive Mac ARM 64 bit |
48 |
| - uses: actions/upload-artifact@v2 |
49 |
| - with: |
50 |
| - name: macosx_arm |
51 |
| - path: io.sloeber.product/target/products/io.sloeber.product/macosx/cocoa/aarch64 |
| 1 | +# This workflow will build a Java project with Maven |
| 2 | +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven |
| 3 | + |
| 4 | +name: Java CI with Maven |
| 5 | + |
| 6 | +on: |
| 7 | + push: |
| 8 | + branches: [ master ] |
| 9 | + pull_request: |
| 10 | + branches: [ master ] |
| 11 | + |
| 12 | +jobs: |
| 13 | + build: |
| 14 | + |
| 15 | + runs-on: ubuntu-latest |
| 16 | + |
| 17 | + steps: |
| 18 | + - uses: actions/checkout@v2 |
| 19 | + - name: Set up JDK 17 |
| 20 | + uses: actions/setup-java@v2 |
| 21 | + with: |
| 22 | + java-version: '17' |
| 23 | + distribution: 'adopt' |
| 24 | + - name: Build with Maven |
| 25 | + run: mvn --no-transfer-progress verify -Pall,sloeber_release,NOSDK -Dtest=NightlyJenkins -DfailIfNoTests=false |
| 26 | + |
| 27 | + - name: Archive production artifacts |
| 28 | + uses: actions/upload-artifact@v3 |
| 29 | + with: |
| 30 | + name: Repository |
| 31 | + path: io.sloeber.updatesite/target/repository |
| 32 | + - name: Archive Windows 64 bit |
| 33 | + uses: actions/upload-artifact@v3 |
| 34 | + with: |
| 35 | + name: windows |
| 36 | + path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-win32.win32.x86_64.zip |
| 37 | + - name: Archive Linux 64 bit |
| 38 | + uses: actions/upload-artifact@v3 |
| 39 | + with: |
| 40 | + name: linux |
| 41 | + path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-linux.gtk.x86_64.tar.gz |
| 42 | + - name: Archive Mac 64 bit |
| 43 | + uses: actions/upload-artifact@v3 |
| 44 | + with: |
| 45 | + name: macosx |
| 46 | + path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-macosx.cocoa.x86_64.zip |
| 47 | + - name: Archive Mac ARM 64 bit |
| 48 | + uses: actions/upload-artifact@v3 |
| 49 | + with: |
| 50 | + name: macosx_arm |
| 51 | + path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-macosx.cocoa.aarch64.zip |
0 commit comments