From 34a3674a67746ec31bb7e626d48e692ef4a40efa Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 13 Jul 2021 03:35:03 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f523f9..bcfccfa 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ on: # Outputs: "Running on: v0.0.1". - name: Get the current tag - if: startsWith(github.ref, 'refs/tags/') + 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"