actions: Try using the actions run variable
This commit is contained in:
parent
3e3c2fe61e
commit
b642cf7269
@ -24,7 +24,7 @@ jobs:
|
|||||||
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
|
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
|
||||||
tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
|
tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
|
||||||
tag=${tag//\//-}
|
tag=${tag//\//-}
|
||||||
tag_num=$(git log --oneline | wc -l)
|
tag_num=${GITHUB_RUN_NUMBER}
|
||||||
echo "tag_num=$tag_num"
|
echo "tag_num=$tag_num"
|
||||||
|
|
||||||
if [[ "$tag" == "main" ]]; then
|
if [[ "$tag" == "main" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user