Skip to content

Commit

Permalink
Added a GitHub Action to compile JChemPaint
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Jun 11, 2024
1 parent 32864f3 commit b71739a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11 ]
name: Java ${{ matrix.java }}

steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: maven
- name: Build with Maven
run: mvn clean install -q

0 comments on commit b71739a

Please sign in to comment.