Skip to content

Commit

Permalink
Add a deploy build (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed May 16, 2023
1 parent 7f5f443 commit 690ee24
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,11 @@ on: [push, pull_request]

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest]
java: [8, 11, 17]
jdk: [temurin]
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.jdk }}
cache: 'maven'

- name: Build with Maven
run: mvn install -e -B -V
name: Build it
uses: codehaus-plexus/.github/.github/workflows/maven.yml@v0.0.5

deploy:
name: Deploy
needs: build
uses: codehaus-plexus/.github/.github/workflows/maven-deploy.yml@master
secrets: inherit

0 comments on commit 690ee24

Please sign in to comment.