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