Skip to content

Commit

Permalink
tests step by step
Browse files Browse the repository at this point in the history
  • Loading branch information
profy12 committed Jan 8, 2024
1 parent 934c20f commit 252a955
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ runs:
steps:
- name: Start to lower text ${{ inputs.text }}
run: |
./lower.sh $text=${{ inputs.text }} >> $GITHUB_OUTPUT
# echo 'text=Coucou' | grep 'ou' >> $GITHUB_OUTPUT
echo 'text=Coucou' | tr '\[:upper:\]' '\[:lower:\]' >> $GITHUB_OUTPUT
# echo 'text=Coucou' | tr '\[:upper:\]' '\[:lower:\]' >> $GITHUB_OUTPUT
# echo 'text=${{ inputs.text }}' | tr '[:upper:]' '[:lower:]' >> $GITHUB_OUTPUT
shell: bash
id: lower-step
Expand Down
2 changes: 2 additions & 0 deletions lower.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo $1 | tr '[:upper:]' '[:lower:]'

0 comments on commit 252a955

Please sign in to comment.