[openwrt/openwrt] CI: correctly output subtarget in label workflow

LEDE Commits lede-commits at lists.infradead.org
Thu May 25 14:16:26 PDT 2023


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/962334bc82bf358d56d52dd4d87be8d07db94543

commit 962334bc82bf358d56d52dd4d87be8d07db94543
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Thu May 25 23:09:59 2023 +0200

    CI: correctly output subtarget in label workflow
    
    Commit bf8187d5dc4d ("CI: use split target and subtarget in label
    workflow") didn't correctly output subtarget resulting in calling with
    an empty subtarget. Fix this and correctly output generated subtarget.
    
    Fixes: bf8187d5dc4d ("CI: use split target and subtarget in label workflow")
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
    (cherry picked from commit 8aa5a860101cc3f8d35ca968746320495c4b469e)
---
 .github/workflows/label-kernel.yml | 1 +
 .github/workflows/label-target.yml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.github/workflows/label-kernel.yml b/.github/workflows/label-kernel.yml
index 6c79014edb..243d285e28 100644
--- a/.github/workflows/label-kernel.yml
+++ b/.github/workflows/label-kernel.yml
@@ -13,6 +13,7 @@ jobs:
     runs-on: ubuntu-latest
     outputs:
       target: ${{ steps.set_target.outputs.target }}
+      subtarget: ${{ steps.set_target.outputs.subtarget }}
 
     steps:
       - name: Set target
diff --git a/.github/workflows/label-target.yml b/.github/workflows/label-target.yml
index 4c3df28f51..3a624598b1 100644
--- a/.github/workflows/label-target.yml
+++ b/.github/workflows/label-target.yml
@@ -13,6 +13,7 @@ jobs:
     runs-on: ubuntu-latest
     outputs:
       target: ${{ steps.set_target.outputs.target }}
+      subtarget: ${{ steps.set_target.outputs.subtarget }}
 
     steps:
       - name: Set target




More information about the lede-commits mailing list