Skip to content

Commit

Permalink
chore(CI): fix remove build order error
Browse files Browse the repository at this point in the history
build matrix 现在只有一个了

log:
  • Loading branch information
hudeng-go committed Oct 7, 2023
1 parent 439ac3e commit a7db93a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/01-parsec-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ jobs:
for repo in order.get("data").get("payload"):
allRepos.append(repo)
if len(order.get("data").get("payload")) > 0:
set_output("build_matrix_" + str(order['order']), str(order.get("data")))
set_output("build_matrix", str(order.get("data")))
set_output("all_build_task", str(allRepos))
except BaseException as e:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ jobs:
# build task
builds:
name: builds
if: always() && !cancelled() && (needs.parsec_integration.outputs.build_matrix_0 != '') && (needs.parsec_integration.result == 'success')
if: always() && !cancelled() && (needs.parsec_integration.outputs.build_matrix != '') && (needs.parsec_integration.result == 'success')
needs:
- parsec_integration
- build_project_prepare
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix_0) }}
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix) }}
uses: deepin-community/Repository-Integration/.github/workflows/02-build-obs.yml@master
secrets: inherit
with:
Expand Down

0 comments on commit a7db93a

Please sign in to comment.