From a3a070e693fb181b493b8a12ced469209fbca157 Mon Sep 17 00:00:00 2001 From: Logan Buesching Date: Thu, 11 Jan 2024 14:55:19 -0500 Subject: [PATCH] Use ref name and use capital letter for directory --- .github/workflows/ci_tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 27ff0c6..078a123 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -18,10 +18,10 @@ jobs: - name: Set release configuration for release branches id: set_buildconfig run: | - if [[ "${{github.base_ref}}" == "release" ]]; then - echo "::set-output name=build_configuration::release" + if [[ "${{ github.ref_name }}" == "release" ]]; then + echo "::set-output name=build_configuration::Release" else - echo "::set-output name=build_configuration::debug" + echo "::set-output name=build_configuration::Debug" fi build_test: