From bdad1eaa119ce71b150b952c97351c75025c06a9 Mon Sep 17 00:00:00 2001 From: Sal Date: Fri, 2 Feb 2024 13:53:22 -0500 Subject: [PATCH] Update README.md adjust readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ce7f04b..61e1fbe 100644 --- a/README.md +++ b/README.md @@ -21,25 +21,25 @@ A string value of 'true' or 'false' To check if the tag `v1.0` exists in your repo: ```yaml -- uses: mukunku/tag-exists-action@v1.5.0 +- uses: mukunku/tag-exists-action@v1.6.0 id: check-tag with: tag: 'v1.0' - run: echo "Tag exists!" - if: ${{ steps.check-tag.outputs.exists == 'true' }} + if: steps.check-tag.outputs.exists == 'true' ``` To check if the tag [`v1.0.0`](https://github.com/actions/checkout/releases/tag/v1.0.0) exists in the repo `actions/checkout`: ```yaml -- uses: mukunku/tag-exists-action@v1.5.0 +- uses: mukunku/tag-exists-action@v1.6.0 id: check-tag with: tag: 'v1.0.0' repo: 'actions/checkout' - run: echo "Tag exists!" - if: steps.check-tag.outputs.exists == 'true' # you can drop ${{ }} on 'if' checks + if: steps.check-tag.outputs.exists == 'true' ```