From fdbd22983283dabe4b4ac7cc9bf32eedbbb9cbda Mon Sep 17 00:00:00 2001 From: iCrawl Date: Sat, 4 Jun 2022 17:56:39 +0200 Subject: [PATCH] ci: equality check on tag and package name --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e56f2e26e..d494d81c6 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -122,7 +122,7 @@ jobs: tag: ${{ env.BRANCH_NAME }} - name: Move docs to correct directory - if: ${{ github.event.inputs.ref || env.BRANCH_OR_TAG == 'tag' }} + if: ${{ (github.event.inputs.ref || env.BRANCH_OR_TAG == 'tag') && matrix.package == steps.extract-tag.outputs.package }} env: PACKAGE: ${{ steps.extract-tag.outputs.package }} SEMVER: ${{ steps.extract-tag.outputs.semver }}