Skip to content

Commit

Permalink
test local action
Browse files Browse the repository at this point in the history
  • Loading branch information
profy12 committed Jan 8, 2024
1 parent fa7948b commit 6b6e860
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
name: A test job to cowsay
name: A test job for tr
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -17,7 +17,7 @@ jobs:
uses: ./
with:
text: |
This is cowsay
Hello DevOps
# - name: Test cowsay on the comment
# uses: ./
# with:
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ runs:
using: "composite"
steps:
- name: Start to lower text ${{ inputs.text }}
run: echo Hello ${{ inputs.text }} | tr '[:upper:]' '[:lower:]' >> $GITHUB_OUTPUT
run: |
echo '${{ inputs.text }}' | tr '[:upper:]' '[:lower:]' >> $GITHUB_OUTPUT
shell: bash
id: lower-step

0 comments on commit 6b6e860

Please sign in to comment.