From ab304d8562e2f137165e1d930e6d22d431189074 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 1 Nov 2023 01:00:38 -0600 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 650ebd1f..037df1af 100644 --- a/README.md +++ b/README.md @@ -212,13 +212,13 @@ on: if: steps.branch-name.outputs.is_tag == 'true' run: | echo "Running on: ${{ steps.branch-name.outputs.tag }}" - # Outputs: "Running on: v0.0.1". + # Outputs: "Running on: 0.0.1". - name: Get the current tag if: steps.branch-name.outputs.is_tag == 'true' # Replaces: startsWith(github.ref, 'refs/tags/') run: | echo "${{ steps.branch-name.outputs.tag }}" - # Outputs: "v0.0.1" OR "0.0.1" + # Outputs: "0.0.1" ``` ### Possible usage with [actions/checkout](https://github.com/actions/checkout):