Skip to content

Commit a7db93a

Browse files
committed
chore(CI): fix remove build order error
build matrix 现在只有一个了 log:
1 parent 439ac3e commit a7db93a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/01-parsec-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
for repo in order.get("data").get("payload"):
243243
allRepos.append(repo)
244244
if len(order.get("data").get("payload")) > 0:
245-
set_output("build_matrix_" + str(order['order']), str(order.get("data")))
245+
set_output("build_matrix", str(order.get("data")))
246246
set_output("all_build_task", str(allRepos))
247247
248248
except BaseException as e:

.github/workflows/auto-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ jobs:
142142
# build task
143143
builds:
144144
name: builds
145-
if: always() && !cancelled() && (needs.parsec_integration.outputs.build_matrix_0 != '') && (needs.parsec_integration.result == 'success')
145+
if: always() && !cancelled() && (needs.parsec_integration.outputs.build_matrix != '') && (needs.parsec_integration.result == 'success')
146146
needs:
147147
- parsec_integration
148148
- build_project_prepare
149149
strategy:
150150
fail-fast: false
151-
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix_0) }}
151+
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix) }}
152152
uses: deepin-community/Repository-Integration/.github/workflows/02-build-obs.yml@master
153153
secrets: inherit
154154
with:

0 commit comments

Comments
 (0)