From 04f48e8ace486e21fc3412de89fc1c256b29af48 Mon Sep 17 00:00:00 2001 From: Piotr Krzeminski Date: Tue, 30 Apr 2024 09:30:21 +0200 Subject: [PATCH] ci: deploy action-updates-checker --- .github/workflows/_shared.main.kts | 1 + .github/workflows/release.yaml | 24 +++++++++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/_shared.main.kts b/.github/workflows/_shared.main.kts index 9ab536b45..5560d60ca 100644 --- a/.github/workflows/_shared.main.kts +++ b/.github/workflows/_shared.main.kts @@ -14,4 +14,5 @@ val libraries = listOf( ":shared-internal", ":github-workflows-kt", ":action-binding-generator", + ":action-updates-checker", ) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2ce003d4f..8e4a1aca8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,31 +58,37 @@ jobs: name: 'Publish '':action-binding-generator'' to Sonatype' run: './gradlew :action-binding-generator:publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache' - id: 'step-8' + name: 'Publish '':action-updates-checker'' to Sonatype' + run: './gradlew :action-updates-checker:publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache' + - id: 'step-9' name: 'Wait until '':shared-internal'' present in Maven Central' run: './gradlew :shared-internal:waitUntilLibraryPresentInMavenCentral' - - id: 'step-9' + - id: 'step-10' name: 'Wait until '':github-workflows-kt'' present in Maven Central' run: './gradlew :github-workflows-kt:waitUntilLibraryPresentInMavenCentral' - - id: 'step-10' + - id: 'step-11' name: 'Wait until '':action-binding-generator'' present in Maven Central' run: './gradlew :action-binding-generator:waitUntilLibraryPresentInMavenCentral' - - id: 'step-11' - run: 'pip install -r docs/requirements.txt' - id: 'step-12' + name: 'Wait until '':action-updates-checker'' present in Maven Central' + run: './gradlew :action-updates-checker:waitUntilLibraryPresentInMavenCentral' + - id: 'step-13' + run: 'pip install -r docs/requirements.txt' + - id: 'step-14' name: 'Build Mkdocs docs' run: 'mkdocs build --site-dir to-gh-pages' - - id: 'step-13' + - id: 'step-15' uses: 'gradle/actions/setup-gradle@v3' - - id: 'step-14' + - id: 'step-16' name: 'Generate API docs' run: './gradlew :github-workflows-kt:dokkaHtml --no-configuration-cache' - - id: 'step-15' + - id: 'step-17' name: 'Prepare target directory for API docs' run: 'mkdir -p to-gh-pages/api-docs' - - id: 'step-16' + - id: 'step-18' name: 'Copy Dokka output to Mkdocs output' run: 'cp -r github-workflows-kt/build/dokka/html/* to-gh-pages/api-docs' - - id: 'step-17' + - id: 'step-19' name: 'Deploy merged docs to GitHub Pages' uses: 'JamesIves/github-pages-deploy-action@v4' with: