Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ratgen committed Oct 4, 2023
1 parent 1eba6fc commit 001f17c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Java CI with Maven

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
distribution: 'teumurin'

- name: Checkout JHotDraw
uses: actions/checkout@v4

- name: Build JHotDraw
env:
USER_NAME: ${{ secrets.GITHUB_ACTOR }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn clean install -DskipTests -s .maven-settings.xml -f pom.xml

0 comments on commit 001f17c

Please sign in to comment.