Skip to content

Commit 04057eb

Browse files
authored
Skip duplicate CI (#152)
1 parent f93a1fe commit 04057eb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,19 @@ concurrency:
1818
cancel-in-progress: true
1919

2020
jobs:
21+
pre_job:
22+
# continue-on-error: true # Uncomment once integration is finished
23+
runs-on: ubuntu-latest
24+
# Map a step output to a job output
25+
outputs:
26+
should_skip: ${{ steps.skip_check.outputs.should_skip }}
27+
steps:
28+
- id: skip_check
29+
uses: fkirc/skip-duplicate-actions@v5
30+
2131
test:
32+
needs: pre_job
33+
if: needs.pre_job.outputs.should_skip != 'true'
2234
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
2335
runs-on: ${{ matrix.os }}
2436
strategy:

0 commit comments

Comments
 (0)