Skip to content

Commit 2e7c24d

Browse files
committed
fix workflow skipping
- need to use `exclude` to make the windows skips work - can't actually skip based on workflow_call, fml
1 parent 59567a0 commit 2e7c24d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ jobs:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
options: ['', '-Dlog -Dchance -Dcalc', '-Dshowdown', '-Dshowdown -Dlog -Dchance -Dcalc']
1919
zig: [local, master] # local = 0.11.0
20+
exclude:
21+
- os: windows-latest
22+
zig: local
2023
runs-on: ${{matrix.os}}
2124
steps:
22-
- run: exit 0
23-
if: ${{ github.event_name == 'workflow_call' && matrix.zig != 'local' }} # master
24-
- run: exit 0
25-
if: ${{ matrix.os == 'windows-latest' && matrix.zig == 'local' }}
2625
- uses: actions/checkout@v4
2726
- run: git config core.symlinks true
2827
# NOTE: we rely on npm postinstall-ed zig for local zig

0 commit comments

Comments
 (0)