From 272960ef06a8f3789473a5587bf3b43efee4c2e7 Mon Sep 17 00:00:00 2001 From: Serban Stancu Date: Tue, 25 Jun 2024 13:36:44 -0600 Subject: [PATCH] Fix parameter name. --- .github/workflows/npm-publish-core-modules.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish-core-modules.yaml b/.github/workflows/npm-publish-core-modules.yaml index 84ab1e9..5c61acc 100644 --- a/.github/workflows/npm-publish-core-modules.yaml +++ b/.github/workflows/npm-publish-core-modules.yaml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check Core Module Name - if: ${{ github.event.inputs.tag != 'cookie' && github.event.inputs.tag != 'document' && github.event.inputs.tag != 'loadScript' && github.event.inputs.tag != 'objectAssign' && github.event.inputs.tag != 'promise' && github.event.inputs.tag != 'query-string' && github.event.inputs.tag != 'window' }} + if: ${{ github.event.inputs.module != 'cookie' && github.event.inputs.module != 'document' && github.event.inputs.module != 'loadScript' && github.event.inputs.module != 'objectAssign' && github.event.inputs.module != 'promise' && github.event.inputs.module != 'query-string' && github.event.inputs.module != 'window' }} run: | - echo 'Only the modules "cookie", "document", "loadScript", "objectAssign", "promise", "query-string" and "window" are supported. You entered "${{ github.event.inputs.tag }}"' + echo 'Only the modules "cookie", "document", "loadScript", "objectAssign", "promise", "query-string" and "window" are supported. You entered "${{ github.event.inputs.module }}"' exit 1 - uses: actions/checkout@v4 - uses: actions/setup-node@v4