Skip to content

Commit

Permalink
💚 Add build test action
Browse files Browse the repository at this point in the history
  • Loading branch information
siloneco authored Mar 22, 2022
1 parent 1d0acba commit b07e0d6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build
on:
push:
paths-ignore:
- "**.md"
- "renovate.json"
pull_request:
paths-ignore:
- "**.md"
- "renovate.json"

jobs:
build:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
name: Build with Java 17
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "adopt"
cache: "maven"
- run: java -version
- run: mvn --version
- run: mvn -B package

0 comments on commit b07e0d6

Please sign in to comment.