Skip to content

Commit 4de440b

Browse files
committed
workflow: add the branch in the output path
1 parent 88e944d commit 4de440b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/toolchain-x86_64.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,13 @@ jobs:
285285
if: ${{ github.event.inputs.debug_enabled == 'true' }}
286286
run: |
287287
DYNAMIC_PART="${{ matrix.toolchain-version }}"
288-
mkdir -p ${HOME}/output/${DYNAMIC_PART}/images/
289-
echo "debug" > ${HOME}/output/${DYNAMIC_PART}/images/mipsel-thingino-linux-dummy_sdk-buildroot.tar.gz
288+
mkdir -p ${HOME}/output/${GIT_BRANCH}/${DYNAMIC_PART}/images/
289+
echo "debug" > ${HOME}/output/${GIT_BRANCH}/${DYNAMIC_PART}/images/mipsel-thingino-linux-dummy_sdk-buildroot.tar.gz
290290
echo "TIME=7:77" >> ${GITHUB_ENV}
291291
292292
- name: Rename toolchain package for release
293293
run: |
294-
INGTC=$(find ${HOME}/output/${{ matrix.toolchain-version }}*/images/ -name "mipsel-thingino-linux-*_sdk-buildroot.tar.gz" | head -n 1)
294+
INGTC=$(find ${HOME}/output/${GIT_BRANCH}/${{ matrix.toolchain-version }}*/images/ -name "mipsel-thingino-linux-*_sdk-buildroot.tar.gz" | head -n 1)
295295
if [[ -n "$INGTC" ]]; then
296296
DIR_PATH=$(dirname "$INGTC")
297297
TOOLCHAIN_VERSION="${{ matrix.toolchain-version }}"

0 commit comments

Comments
 (0)