Create maven.yml #3
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
# This workflow will build a Java project with Maven and bundle them as native app installers with jDeploy | |
# See https://www.jdeploy.com for more information. | |
name: jDeploy CI with Maven | |
on: | |
push: | |
branches: ['*'] | |
tags: ['*'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: Build App Installer Bundles | |
uses: shannah/jdeploy@master | |
with: | |
github_token: ${{ github.token }} |