Skip to content

Apply changes from dependencyGuardBaseline #28

Apply changes from dependencyGuardBaseline

Apply changes from dependencyGuardBaseline #28

Workflow file for this run

name: main-updated
on:
workflow_dispatch:
push:
branches: [ main ]
jobs:
build-logic:
runs-on: macos-latest
steps:
- name: check out
uses: actions/checkout@v3
- name: build build-logic
uses: ./.github/actions/gradle-task
with:
task: :build-logic:compileKotlin :build-logic:jar
write-cache-key: build-logic-jar
build-all:
runs-on: macos-latest
steps:
- name: check out
uses: actions/checkout@v3
- name: main build
uses: ./.github/actions/gradle-task
with:
task: jar compileKotlin
restore-cache-key: build-logic-jar
write-cache-key: main-build-artifacts
publish-snapshot:
needs:
- build-all
if: github.repository == 'RBusarow/ModuleCheck'
runs-on: macos-latest
steps:
- name: check out
uses: actions/checkout@v3
- name: Dokka & JavadocJar
uses: ./.github/actions/gradle-task
with:
task: dokkaJavadocJar
restore-cache-key: main-build-artifacts
- name: Publish Snapshots
uses: ./.github/actions/gradle-task
with:
task: publish
write-cache-key: local-m2
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}