Update README.md

This commit is contained in:
Tonye Jack 2021-07-13 03:35:03 -04:00 committed by GitHub
parent bb0f1582ed
commit 34a3674a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ on:
# Outputs: "Running on: v0.0.1". # Outputs: "Running on: v0.0.1".
- name: Get the current tag - 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: | run: |
echo "${{ steps.branch-name.outputs.tag }}" echo "${{ steps.branch-name.outputs.tag }}"
# Outputs: "v0.0.1" OR "0.0.1" # Outputs: "v0.0.1" OR "0.0.1"