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": [ # {