Skip to content

Commit e01145a

Browse files
committed
Right env var
1 parent e0f77d9 commit e01145a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ jobs:
7777
echo "version = ${{ github.event.inputs.version }}"
7878
7979
if [[ ! -z "${{ github.event.inputs.version }}" ]]; then
80-
TEMP=${{ github.event.inputs.version }}
81-
TEMP=${TEMP:1}
82-
TAGS=`echo $TAGS | sed "s|$TRAVIS_TAG|$TEMP|"`
80+
TEMP=${{ github.event.inputs.version }}
81+
TEMP=${TEMP:1}
82+
TAGS=`echo $TAGS | sed "s|$GITHUB_REF|$TEMP|"`
8383
TRAVIS_TAG=${{ github.event.inputs.version }}
8484
else
8585
TRAVIS_TAG=$(echo $GITHUB_REF | awk -F '/' '{ print $3}')

0 commit comments

Comments
 (0)