Skip to content

Commit

Permalink
show result
Browse files Browse the repository at this point in the history
  • Loading branch information
tosuke committed Oct 2, 2024
1 parent f794f81 commit 04b36eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/on-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ jobs:
with:
script: |
const { changed_keys } = JSON.parse(process.env.changes)
return {
const r = {
build_otelcol: changed_keys.includes("workflows") || changed_keys.includes("otelcol")
build_bird: changed_keys.includes("workflows") || changed_keys.includes("bird"),
}
console.log(r)
build-otelcol:
needs: [prepare]
if: ${{ fromJSON(needs.prepare.outputs.result).build_otelcol }}
Expand Down

0 comments on commit 04b36eb

Please sign in to comment.