Skip to content

Commit

Permalink
ops: create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterFlomaster1 committed Jul 10, 2024
1 parent 34c39d7 commit b80f8b9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build

on:
push:
branches:
- "master"
paths:
- 'src/**'
- '.github/**'
- 'pom.xml'
pull_request:
branches:
- "master"
paths:
- 'src/**'
- '.github/**'
- 'pom.xml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit b80f8b9

Please sign in to comment.