File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 1313 PYTHON_VER :
1414 required : true
1515 default : ' 3.12'
16+ workflow_call :
17+ inputs :
18+ WHL_VER :
19+ type : string
20+ required : true
21+ default : ' 0.5.0'
22+ PYTHON_VER :
23+ type : string
24+ required : true
25+ default : ' 3.12'
1626
1727concurrency :
18- group : ${{ github.workflow }}-${{ github.event. inputs.WHL_VER }}
28+ group : ${{ github.workflow }}-${{ inputs.WHL_VER }}
1929 cancel-in-progress : true
2030
2131jobs :
5060 set -x
5161 TRITON_VER="3.5"
5262 export FLAGTREE_BACKEND=enflame
53- WHL_VER=${{ github.event. inputs.WHL_VER }}
54- PYTHON_VER=${{ github.event. inputs.PYTHON_VER }}
63+ WHL_VER=${{ inputs.WHL_VER }}
64+ PYTHON_VER=${{ inputs.PYTHON_VER }}
5565 export FLAGTREE_WHEEL_VERSION="${WHL_VER}+${FLAGTREE_BACKEND}${TRITON_VER}"
5666
5767 RES="--index-url=https://resource.flagos.net/repository/flagos-pypi-hosted/simple --trusted-host=https://resource.flagos.net"
7080 shell : bash
7181 run : |
7282 set -x
73- PYTHON_VER=${{ github.event. inputs.PYTHON_VER }}
83+ PYTHON_VER=${{ inputs.PYTHON_VER }}
7484 CP_VER=$(printf '%s' "$PYTHON_VER" | tr -d '.')
7585 PLATFORM="x86_64"
7686 FLAGTREE_WHL="flagtree-${FLAGTREE_WHEEL_VERSION}-cp${CP_VER}-cp${CP_VER}-linux_${PLATFORM}.whl"
You can’t perform that action at this time.
0 commit comments