Ant Package #1
Workflow file for this run
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: Ant Package | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- uses: cjmach/[email protected] | |
with: | |
version: '18' | |
- name: Build NBMs with Ant | |
run: >- | |
ant -noinput -buildfile build.xml | |
-Dnbplatform.default.netbeans.dest.dir=${{ github.workspace }}/netbeans | |
-Dnbplatform.default.harness.dir=${{ github.workspace }}/netbeans/harness | |
nbms | |
- name: Upload pages artifact | |
uses: actions/upload-pages-artifact@v4 | |
with: | |
path: build/updates/ | |
deploy: | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${\{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 | |