Skip to content

Bump org.pitest:pitest-junit5-plugin from 1.2.0 to 1.2.1 #409

Bump org.pitest:pitest-junit5-plugin from 1.2.0 to 1.2.1

Bump org.pitest:pitest-junit5-plugin from 1.2.0 to 1.2.1 #409

Workflow file for this run

name: Build & verify
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
jdk: [ 17 ]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
cache: maven
- name: Build & verify with Maven
run: mvn verify --show-version --update-snapshots
release-snapshot:
needs:
- build
# only release snapshots of commits on the master branch
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish snapshot artifact
run: mvn --show-version -Prelease -Drevision=${GITHUB_SHA}-SNAPSHOT clean deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- run: mkdir staging && cp target/*.jar staging
- name: Upload artifact sources
uses: actions/upload-artifact@v3
with:
name: Sources
path: staging