projects
/
openwrt
/
staging
/
hauke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CI: use split target and subtarget in label workflow
[openwrt/staging/hauke.git]
/
.github
/
workflows
/
label-target.yml
diff --git
a/.github/workflows/label-target.yml
b/.github/workflows/label-target.yml
index e1890240764226febf33a344032d76dc4e1fe388..4c3df28f51bb37dae3446363b53689fe174e109a 100644
(file)
--- a/
.github/workflows/label-target.yml
+++ b/
.github/workflows/label-target.yml
@@
-20,7
+20,8
@@
jobs:
env:
CI_EVENT_LABEL_NAME: ${{ github.event.label.name }}
run: |
env:
CI_EVENT_LABEL_NAME: ${{ github.event.label.name }}
run: |
- echo "$CI_EVENT_LABEL_NAME" | sed -n 's/.*:\(.*\):\(.*\)$/target="\1\/\2"/p' | tee --append $GITHUB_OUTPUT
+ echo "$CI_EVENT_LABEL_NAME" | sed -n 's/.*:\(.*\):\(.*\)$/target="\1"/p' | tee --append $GITHUB_OUTPUT
+ echo "$CI_EVENT_LABEL_NAME" | sed -n 's/.*:\(.*\):\(.*\)$/subtarget="\2"/p' | tee --append $GITHUB_OUTPUT
build_target:
name: Build target
build_target:
name: Build target
@@
-31,6
+32,7
@@
jobs:
uses: ./.github/workflows/build.yml
with:
target: ${{ needs.set_target.outputs.target }}
uses: ./.github/workflows/build.yml
with:
target: ${{ needs.set_target.outputs.target }}
+ subtarget: ${{ needs.set_target.outputs.subtarget }}
build_full: true
build_all_kmods: true
build_all_boards: true
build_full: true
build_all_kmods: true
build_all_boards: true