ci: equality check on tag and package name

This commit is contained in:
iCrawl
2022-06-04 17:56:39 +02:00
parent 9e8e2411c1
commit fdbd229832

View File

@@ -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 }}