Skip to content

Commit

Permalink
Remove jitpack and snapshot build
Browse files Browse the repository at this point in the history
  • Loading branch information
bcopy committed Feb 5, 2024
1 parent 71043fb commit 10c8f07
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Java CI
on: [push]

jobs:
build-latest-snapshots:
build and deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -18,18 +18,5 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -P jitpack-latest -B package -DskipTests=true --file pom.xml

build-stable:
if: contains(github.ref, 'master') || (contains(github.ref, 'release') ) || (contains(github.ref, 'support') )
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- name: Build with Maven
run: mvn -B package -DskipTests=true --file pom.xml

0 comments on commit 10c8f07

Please sign in to comment.