diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c13247d..347908f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -3,6 +3,7 @@ on: push: branches: - main + jobs: publish: runs-on: ubuntu-latest @@ -10,7 +11,8 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Set up Java uses: actions/setup-java@v4 @@ -18,6 +20,12 @@ jobs: java-version: '21' distribution: 'temurin' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + + - name: Generate and submit dependency graph + uses: gradle/actions/dependency-submission@v3 + - name: Publish package run: ./gradlew publish env: