From 865d7e9b20f93f6189635e244e1d0c828639c01a Mon Sep 17 00:00:00 2001 From: Nik Date: Sun, 24 Sep 2023 22:41:32 +0200 Subject: [PATCH] git: Fixed Ubuntu release commit hash and branch variable setting --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a70a11770..7fc801d0d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -299,9 +299,9 @@ jobs: -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DIMHEX_PATTERNS_PULL_MASTER=ON \ - -DIMHEX_COMMIT_HASH_SHORT="${{ env.COMMIT_SHA_SHORT }}" \ - -DIMHEX_COMMIT_HASH_LONG="${{ env.COMMIT_SHA_LONG}}" \ - -DIMHEX_COMMIT_BRANCH="${{ env.COMMIT_BRANCH }}" \ + -DIMHEX_COMMIT_HASH_SHORT="${GITHUB_SHA::7}" \ + -DIMHEX_COMMIT_HASH_LONG="${GITHUB_SHA}" \ + -DIMHEX_COMMIT_BRANCH="${GITHUB_REF##*/}" \ -DIMHEX_ENABLE_LTO=ON \ -DIMHEX_USE_GTK_FILE_PICKER=ON \ -DDOTNET_EXECUTABLE="dotnet" \