Skip to content

Commit ca6cf54

Browse files
committed
Adds environment variable for CI branch
1 parent 39c7fc3 commit ca6cf54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/tutorial-tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ concurrency:
2222
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2323
cancel-in-progress: true
2424

25+
# Set the environment variables to be used in all jobs defined in this workflow
26+
env:
27+
CI_BRANCH: ${{ github.head_ref || github.ref_name }}
28+
2529
jobs:
2630
# Job 1: Test tutorials as scripts and notebooks on multiple OS
2731
tutorial-tests:

0 commit comments

Comments
 (0)