From 6b6e860f97c4d233c1d557e1d381769917103fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien?= Date: Mon, 8 Jan 2024 11:28:22 +0100 Subject: [PATCH] test local action --- .github/workflows/test-action.yml | 4 ++-- action.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index f811351..086760d 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -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 @@ -17,7 +17,7 @@ jobs: uses: ./ with: text: | - This is cowsay + Hello DevOps # - name: Test cowsay on the comment # uses: ./ # with: diff --git a/action.yml b/action.yml index 6023475..25dfcf6 100644 --- a/action.yml +++ b/action.yml @@ -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