github.ref instead of GITHUB_REF

This commit is contained in:
jonaswinkler 2021-01-10 23:46:19 +01:00
parent 4380c3ca2c
commit 5cdf0d5632

View File

@ -156,7 +156,7 @@ jobs:
-
id: get_branch_name
run: |
branch_name=$(echo ${{ GITHUB_REF }} | cut -d/ -f3)
branch_name=$(echo ${{ github.ref }} | cut -d/ -f3)
echo "::set-output name=branch_name::$branch_name"
-
name: Create Release