feat: Add name for non-tag commits

This commit is contained in:
Petr Mironychev 2025-05-14 15:14:16 +02:00
parent 44a511137e
commit 34c20aa0d5

View File

@ -57,7 +57,7 @@ jobs:
if (${{github.ref}} MATCHES "tags/v(.*)")
file(APPEND "$ENV{GITHUB_OUTPUT}" "tag=${CMAKE_MATCH_1}")
else()
file(APPEND "$ENV{GITHUB_OUTPUT}" "tag=${{github.run_id}}")
file(APPEND "$ENV{GITHUB_OUTPUT}" "tag=${branch_name}-${{github.run_id}}")
endif()
- name: Download Ninja and CMake