Skip to content

fix: correct inverted syntax #454

fix: correct inverted syntax

fix: correct inverted syntax #454

Workflow file for this run

name: "CI"
on: [push, pull_request]
jobs:
validation:
name: "Building"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
name: Check Gradle Doctor
with:
arguments: checkPlugin
- uses: gradle/gradle-build-action@v2
name: Publish Snapshot
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'runningcode/gradle-doctor'
with:
arguments: publishToMavenCentral -PsonatypeUsername=${{ secrets.SONATYPE_USERNAME }} -PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}