Skip to content

Commit be38431

Browse files
authored
feat: Use square brackets (filename wildcards) (#14)
[$TO_STEP]
1 parent 015a599 commit be38431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ runs:
5555
git checkout $BASE_BRANCH_NAME
5656
5757
echo "Update the step to TO_STEP"
58-
NEXT_STEP=$(cat .github/steps/$TO_STEP-*.md)
58+
NEXT_STEP=$(cat .github/steps/[$TO_STEP]-*.md)
5959
HEADER=$(awk '/<header>/,/<\/header>/' README.md)
6060
FOOTER=$(awk '/<footer>/,/<\/footer>/' README.md)
6161
echo -e "$HEADER\n\n$NEXT_STEP\n\n$FOOTER" > README.md

0 commit comments

Comments
 (0)