Skip to content

Bump junit-platform from 1.10.3 to 1.11.0 (#56) #19

Bump junit-platform from 1.10.3 to 1.11.0 (#56)

Bump junit-platform from 1.10.3 to 1.11.0 (#56) #19

name: Trigger Snapshot Release
on:
push:
branches:
- main
jobs:
publish_archives:
runs-on: ubuntu-latest
if: github.repository == 'Faire/faire-detekt-rules'
permissions:
contents: read
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Setup gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- name: Verify build
run: ./gradlew check
- name: Publish the artifacts
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY_PASSWORD }}
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-parallel --no-configuration-cache