Skip to content

Commit

Permalink
#38 Add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Smith committed Aug 3, 2023
1 parent 43395cb commit 22f1670
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/maven-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path

name: Java CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# JavaParser:Visited

[![Build Status](https://travis-ci.org/javaparser/javaparser-visited.svg?branch=master)](https://travis-ci.org/javaparser/javaparser-visited)
![build status](https://github.com/javaparser/javaparser-visited/actions/workflows/maven-package.yml/badge.svg?branch=master)

This project contains code samples for the JavaParser book on [LeanPub.com](https://leanpub.com/javaparservisited/overview)

Expand Down

0 comments on commit 22f1670

Please sign in to comment.