Skip to content

Commit

Permalink
Debugging: split push, workflow_run events
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Nov 18, 2024
1 parent d7a98ea commit c116467
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/macos-shared.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
on:
workflow_call:
inputs:
skip:
description: Skip the workflow
required: true
type: boolean

jobs:
build_appleclang:
name: AppleClang
runs-on: macos-latest
if: ${{ inputs.skip == false }}
#if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
env:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: TRUE
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-wrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ concurrency:
jobs:
build_appleclang:
uses: ./.github/workflows/macos-shared.yml
with:
skip: ${{ github.event.workflow_run.outputs.skip }}

0 comments on commit c116467

Please sign in to comment.