Skip to content

Commit 366edba

Browse files
committed
Add builds checker action
1 parent ce10b0c commit 366edba

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

.github/workflows/builds.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
2+
3+
name: "Builds"
4+
5+
on:
6+
push:
7+
branches: [ "master" ]
8+
pull_request:
9+
# The branches below must be a subset of the branches above
10+
branches: [ "master" ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
permissions: write-all
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up JDK 11
21+
uses: actions/setup-java@v3
22+
with:
23+
java-version: '11'
24+
distribution: 'temurin'
25+
cache: maven
26+
27+
- name: Build with RELEASE130
28+
run: |
29+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE130 -Dnext.version=RELEASE130
30+
env:
31+
GITHUB_TOKEN: ${{ github.token }}
32+
33+
- name: Build with RELEASE140
34+
run: |
35+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE140 -Dnext.version=RELEASE140
36+
env:
37+
GITHUB_TOKEN: ${{ github.token }}
38+
39+
- name: Build with RELEASE150
40+
run: |
41+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE150 -Dnext.version=RELEASE150
42+
env:
43+
GITHUB_TOKEN: ${{ github.token }}
44+
45+
- name: Build with RELEASE160
46+
run: |
47+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE160 -Dnext.version=RELEASE160
48+
env:
49+
GITHUB_TOKEN: ${{ github.token }}
50+
51+
- name: Build with RELEASE170
52+
run: |
53+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE170 -Dnext.version=RELEASE170
54+
env:
55+
GITHUB_TOKEN: ${{ github.token }}
56+
57+
- name: Build with RELEASE180
58+
run: |
59+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE180 -Dnext.version=RELEASE180
60+
env:
61+
GITHUB_TOKEN: ${{ github.token }}
62+
63+
- name: Build with RELEASE190
64+
run: |
65+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE190 -Dnext.version=RELEASE190
66+
env:
67+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)