From 2a334e432e37b406a424d6933b84985bcd48344d Mon Sep 17 00:00:00 2001 From: fraxy-v <65565042+fraxy-v@users.noreply.github.com> Date: Sat, 31 Aug 2024 20:34:40 +0300 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d9d2475..ee99084 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -1,6 +1,4 @@ name: Build -env: - BRANCH_NAME: ${{ github.head_ref || github.ref_name }} on: push: jobs: @@ -105,7 +103,7 @@ jobs: if (err) reject(err); else resolve(result); })); - console.log('${{BRANCH_NAME}}'); + console.log('${{ github.base_ref }}'); # "packages": [ # {