File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 17
17
- push
18
18
- pull_request
19
19
jobs :
20
+ tools_changed :
21
+ continue-on-error : true
22
+ runs-on : ubuntu-20.04
23
+ outputs :
24
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
25
+ steps :
26
+ - id : skip_check
27
+ uses : fkirc/skip-duplicate-actions@master
28
+ with :
29
+ concurrent_skipping : " never"
30
+ skip_after_successful_duplicate : " true"
31
+ paths : ' ["code/**"]'
32
+ do_not_skip : ' ["push", "workflow_dispatch", "schedule"]'
20
33
linux :
21
34
name : Haskell-CI - Linux - ${{ matrix.compiler }}
35
+ needs : tools_changed
36
+ if : ${{ needs.tools_changed.outputs.should_skip != 'true' }}
22
37
runs-on : ubuntu-20.04
23
38
timeout-minutes :
24
39
60
Original file line number Diff line number Diff line change 5
5
- push
6
6
- pull_request
7
7
jobs :
8
+ tools_changed :
9
+ continue-on-error : true
10
+ runs-on : ubuntu-22.04
11
+ outputs :
12
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
13
+ steps :
14
+ - id : skip_check
15
+ uses : fkirc/skip-duplicate-actions@master
16
+ with :
17
+ concurrent_skipping : " never"
18
+ skip_after_successful_duplicate : " true"
19
+ paths : ' ["code/**"]'
20
+ do_not_skip : ' ["push", "workflow_dispatch", "schedule"]'
8
21
check_nix :
9
22
name : Check nix build
23
+ needs : tools_changed
24
+ if : ${{ needs.tools_changed.outputs.should_skip != 'true' }}
10
25
runs-on : ubuntu-22.04
11
26
steps :
12
27
- name : git checkout
22
37
- uses : actions/upload-artifact@v3
23
38
if : ${{ github.event_name == 'push' && github.ref_name == 'main' }}
24
39
with :
25
- name : hsec-tools
40
+ name : hsec-tools-main
26
41
path : code/hsec-tools/result/bin/hsec-tools
You can’t perform that action at this time.
0 commit comments