Skip to content

Commit 45ae646

Browse files
committed
Fixed env
1 parent b4a4f9a commit 45ae646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/_push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ on:
6363
type: string
6464

6565
CATALOG_DIR_PATH:
66-
description: OPM CLI version to use
66+
description: Catalog directory path
6767
default: catalog
6868
required: false
6969
type: string
@@ -116,7 +116,7 @@ jobs:
116116
- name: Check if Catalog release is needed
117117
id: check-catalog-changes
118118
run: |
119-
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q '^${{CATALOG_DIR_PATH}}/'; then
119+
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q '^${{inputs.CATALOG_DIR_PATH}}/'; then
120120
echo "should_release_catalog=true" >> $GITHUB_ENV
121121
else
122122
echo "should_release_catalog=false" >> $GITHUB_ENV

0 commit comments

Comments
 (0)