mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
yet another fix for the github actions
github.ref_name isn't 'master' when a tag is pushed, but the tag name, so it won't trigger a release build when a 'v*' tag is pushed
This commit is contained in:
committed by
majcosta
parent
8897769f0d
commit
552951795c
@@ -38,10 +38,9 @@ jobs:
|
||||
all_languages="${{ inputs.build_all_languages }}"
|
||||
assemble_release="${{ inputs.assemble_release }}"
|
||||
repo="${{ github.repository }}"
|
||||
refname="${{ github.ref_name }}"
|
||||
is_tag="${{ startsWith(github.ref, 'refs/tags/v') }}"
|
||||
|
||||
if [ "$assemble_release" = "true" ] || { [ "$repo" = "1dot13/source" ] && [ "$refname" = "master" ] && [ "$is_tag" = "true" ]; }
|
||||
if [ "$assemble_release" = "true" ] || { [ "$repo" = "1dot13/source" ] && [ "$is_tag" = "true" ]; }
|
||||
then
|
||||
full_release="true"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user