Merge pull request #11 from cjmach/develop #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Ant | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout project | |
- uses: actions/setup-java@v4 | |
name: Set up JDK 11 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- uses: cjmach/[email protected] | |
with: | |
version: '18' | |
- name: Run the Ant build target | |
run: >- | |
ant -noinput -buildfile build.xml | |
-Dnbplatform.default.netbeans.dest.dir=${{ github.workspace }}/netbeans | |
-Dnbplatform.default.harness.dir=${{ github.workspace }}/netbeans/harness | |
build | |