Skip to content

Commit

Permalink
Update refs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsimon committed Oct 21, 2022
1 parent bc415f7 commit 8dc5043
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/refs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
- name: manual release ref
env:
GITHUB_REF_NAME: ${{ inputs.release-tag }}
RELEASE_TAG: ${{ inputs.release-tag }}
if: github.ref_type != 'tag'
run: echo "tag is $GITHUB_REF_NAME"
run: echo "tag is $RELEASE_TAG"

- name: new tag release ref
env:
RELEASE_TAG: "$github.ref_name"
if: github.ref_type == 'tag'
run: echo "tag is $GITHUB_REF_NAME"
run: echo "tag is $RELEASE_TAG"

0 comments on commit 8dc5043

Please sign in to comment.