Skip to content

Commit

Permalink
feat: Use square brackets (filename wildcards) (#14)
Browse files Browse the repository at this point in the history
[$TO_STEP]
  • Loading branch information
sinsukehlab authored Jun 13, 2023
1 parent 015a599 commit be38431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ runs:
git checkout $BASE_BRANCH_NAME
echo "Update the step to TO_STEP"
NEXT_STEP=$(cat .github/steps/$TO_STEP-*.md)
NEXT_STEP=$(cat .github/steps/[$TO_STEP]-*.md)
HEADER=$(awk '/<header>/,/<\/header>/' README.md)
FOOTER=$(awk '/<footer>/,/<\/footer>/' README.md)
echo -e "$HEADER\n\n$NEXT_STEP\n\n$FOOTER" > README.md
Expand Down

0 comments on commit be38431

Please sign in to comment.