From 088b40b86d4e8d1eb7fec06f3b0ccc127cf1c6dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Berg=20Glasius?= Date: Thu, 24 Feb 2022 16:27:57 +0100 Subject: [PATCH] Minor refactoring of release.yml --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f4abc6..1cd5628 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,13 +58,13 @@ jobs: author_email: $${ secrets.GIT_USER_EMAIL }} message: 'Set version to next SNAPSHOT' - name: Check file existence - id: check_files + id: check_documentation uses: andstor/file-existence-action@v1 with: files: "src/docs/asciidoc" - name: Build documentation - if: steps.check_files.outputs.files_exists == 'true' + if: steps.check_documentation.outputs.files_exists == 'true' env: RELEASE_VERSION: ${{ steps.get_version.outputs.version-without-v }} run: | @@ -72,7 +72,7 @@ jobs: - name: Export Gradle Properties uses: micronaut-projects/github-actions/export-gradle-properties@master - name: Publish to Github Pages - if: steps.check_files.outputs.files_exists == 'true' && success() + if: steps.check_documentation.outputs.files_exists == 'true' && success() uses: micronaut-projects/github-pages-deploy-action@master env: BETA: ${{ steps.get_version.outputs.isPrerelase }}