Skip to content

Commit f4869b6

Browse files
committed
Do not use shared YAML file
1 parent 7dcd716 commit f4869b6

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

.github/workflows/macos.yml

+22-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,28 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14+
#skip_checks:
15+
# name: Analyze
16+
# uses: ./.github/workflows/skip_checks.yml
17+
# with:
18+
# runs-on: macos-latest
1419
skip_checks:
15-
name: Analyze
16-
uses: ./.github/workflows/skip_checks.yml
17-
with:
18-
runs-on: macos-latest
20+
name: Skip
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
- name: Analyze PR
27+
run: |
28+
.github/workflows/scripts/check_diff.sh \
29+
${{ github.event.pull_request.head.ref }} \
30+
${{ github.event.pull_request.base.ref }} \
31+
${{ github.event.pull_request.head.repo.clone_url }}
32+
- name: Debug
33+
run: echo "env.SKIP_CHECKS=${{ env.SKIP_CHECKS }}"
34+
outputs:
35+
skip: ${{ env.SKIP_CHECKS }}
1936
build_appleclang:
2037
name: AppleClang
2138
runs-on: macos-latest
@@ -27,7 +44,7 @@ jobs:
2744
#CMAKE_GENERATOR: Ninja
2845
steps:
2946
- name: Debugging
30-
run: echo "SKIP=${{ needs.skip_checks.outputs }}"
47+
run: echo "SKIP=${{ needs.skip_checks.outputs.skip }}"
3148
- name: Checkout code
3249
uses: actions/checkout@v4
3350
- name: Install Python

0 commit comments

Comments
 (0)