diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ebe56a..50e6a92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,9 @@ on: types: [opened, synchronize, reopened] paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu'] +env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} + jobs: ubuntu-latest-cmake: runs-on: ubuntu-latest @@ -195,4 +198,4 @@ jobs: data: await fs.readFileSync(`./artifact/${file}`) }); } - } \ No newline at end of file + }