Skip to content

Commit

Permalink
Do not use shared YAML file
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Nov 19, 2024
1 parent 7dcd716 commit 936a59c
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,29 @@ concurrency:
cancel-in-progress: true

jobs:
#skip_checks:
# name: Analyze
# uses: ./.github/workflows/skip_checks.yml
# with:
# runs-on: macos-latest
skip_checks:
name: Analyze
uses: ./.github/workflows/skip_checks.yml
with:
runs-on: macos-latest
name: Skip
runs-on: ${{ inputs.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Analyze PR
run: |
.github/workflows/scripts/check_diff.sh \
${{ github.event.pull_request.head.ref }} \
${{ github.event.pull_request.base.ref }} \
${{ github.event.pull_request.head.repo.clone_url }}
- name: Debug
run: echo "env.SKIP_CHECKS=${{ env.SKIP_CHECKS }}"
outputs:
skip: ${{ env.SKIP_CHECKS }}
build_appleclang:
name: AppleClang
runs-on: macos-latest
Expand All @@ -27,7 +45,7 @@ jobs:
#CMAKE_GENERATOR: Ninja
steps:
- name: Debugging
run: echo "SKIP=${{ needs.skip_checks.outputs }}"
run: echo "SKIP=${{ needs.skip_checks.outputs.skip }}"
- name: Checkout code
uses: actions/checkout@v4
- name: Install Python
Expand Down

0 comments on commit 936a59c

Please sign in to comment.