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 7ef4393 commit bc415f7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/refs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:
inputs:
release-tag:
description: 'Realse tag to test'
description: 'Release tag to test'
required: true
type: string
push:
Expand All @@ -23,13 +23,11 @@ jobs:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
- name: manual release ref
env:
RELEASE_TAG: ${{ inputs.release-tag }}
GITHUB_REF_NAME: ${{ inputs.release-tag }}
if: github.ref_type != 'tag'
run: echo "tag is $RELEASE_TAG"
run: echo "tag is $GITHUB_REF_NAME"

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

0 comments on commit bc415f7

Please sign in to comment.