File tree 1 file changed +8
-5
lines changed 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 19
19
20
20
nix :
21
21
needs : pre_job
22
- if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
23
22
runs-on : ${{ matrix.os }}
24
23
25
24
strategy :
@@ -29,14 +28,18 @@ jobs:
29
28
os : [ubuntu-latest, macOS-latest]
30
29
31
30
steps :
32
- - uses : actions/checkout@v2
31
+ - if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
32
+ uses : actions/checkout@v2
33
33
with :
34
34
submodules : true
35
- - uses : cachix/install-nix-action@v12
35
+ - if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
36
+ uses : cachix/install-nix-action@v12
36
37
with :
37
38
nix_path : nixpkgs=channel:nixos-unstable
38
- - uses : cachix/cachix-action@v8
39
+ - if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
40
+ uses : cachix/cachix-action@v8
39
41
with :
40
42
name : haskell-language-server
41
43
authToken : ${{ secrets.HLS_CACHIX_AUTH_TOKEN }}
42
- - run : nix-shell --argstr compiler ${{ matrix.ghc }} --run "cabal update && cabal build"
44
+ - if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
45
+ run : nix-shell --argstr compiler ${{ matrix.ghc }} --run "cabal update && cabal build"
You can’t perform that action at this time.
0 commit comments