Skip to content

Commit b024385

Browse files
authored
[CD] Update enflame-gcu-400 delivery workflow (#469)
1 parent 9aabcf2 commit b024385

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/enflame-gcu400-delivery.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,19 @@ on:
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

1727
concurrency:
18-
group: ${{ github.workflow }}-${{ github.event.inputs.WHL_VER }}
28+
group: ${{ github.workflow }}-${{ inputs.WHL_VER }}
1929
cancel-in-progress: true
2030

2131
jobs:
@@ -50,8 +60,8 @@ jobs:
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"
@@ -70,7 +80,7 @@ jobs:
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"

0 commit comments

Comments
 (0)