Skip to content

Commit

Permalink
Add builds checker action
Browse files Browse the repository at this point in the history
  • Loading branch information
albilu committed Sep 10, 2023
1 parent ce10b0c commit 366edba
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@


name: "Builds"

on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
permissions: write-all

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven

- name: Build with RELEASE130
run: |
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE130 -Dnext.version=RELEASE130
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build with RELEASE140
run: |
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE140 -Dnext.version=RELEASE140
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build with RELEASE150
run: |
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE150 -Dnext.version=RELEASE150
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build with RELEASE160
run: |
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE160 -Dnext.version=RELEASE160
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build with RELEASE170
run: |
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE170 -Dnext.version=RELEASE170
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build with RELEASE180
run: |
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE180 -Dnext.version=RELEASE180
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build with RELEASE190
run: |
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE190 -Dnext.version=RELEASE190
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 366edba

Please sign in to comment.