File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,14 @@ jobs:
1414 runs-on : ubuntu-latest
1515 outputs :
1616 date : ${{ steps.date.outputs.date }}
17+ branch : ${{ steps.branch.outputs.branch }}
1718 steps :
1819 - name : Get current date
1920 id : date
2021 run : echo name=date::$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
22+ - name : Get current branch
23+ id : branch
24+ run : echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
2125
2226 dask-tests :
2327 needs : setup
2832 # This selects "ARCH=amd64 + the latest supported Python + CUDA".
2933 matrix_filter : map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
3034 build_type : nightly
31- branch : main
35+ branch : ${{ needs.setup.outputs.branch }}
3236 date : ${{ needs.setup.outputs.date }}
3337 sha : ${{ github.sha }}
3438 script : scripts/run.sh
You can’t perform that action at this time.
0 commit comments