Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Convert from CircleCI to Github Actions #745

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .circleci/config.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "PR Build"
on:
pull_request:
branches:
- master
- main
jobs:
build:
name: Build
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
java-version:
- 11
# - 17 Until Java 6 is not targeted this won't work
java-distribution:
# - adopt-openj9 For now building was already exists
- temurin # OpenJDK
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '${{ matrix.java-version }}'
distribution: '${{ matrix.java-distribution }}'
- name: Caching
uses: actions/cache@v2
with:
path: ~/.m2
key: maven-${{ hashFiles('**/pom.xml') }}-${{ matrix.java-version }}-${{ matrix.java-distribution }}
- name: Build
run: |
java -version
./mvnw clean install
- name: Build Java Doc
run: ./mvnw javadoc:jar