Skip to content

libs.versions.toml cleanup and updated usages #5

libs.versions.toml cleanup and updated usages

libs.versions.toml cleanup and updated usages #5

Workflow file for this run

name: Publish snapshot
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
publish-snapshot:

Check failure on line 10 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish snapshot

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
needs: [ check ]
runs-on: ubuntu-latest
if: github.repository == 'square/invert' && github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
check-latest: true
- name: Gradle Wrapper Validation
uses: gradle/actions/wrapper-validation@v3
- name: Publish Snapshot
run: ./gradlew :invert-models:publish :invert-plugin:publish :invert-report-common:publish --no-configuration-cache --stacktrace
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}