File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2323 matrix :
2424 os : [ubuntu-latest] # macOS-latest, windows-latest
2525 cabal : [3.10.3]
26+ deploy-ghc : [9.6.6]
2627 ghc : [9.4.8, 9.6.6, 9.8.2, 9.10.1]
2728 steps :
2829 - uses : actions/checkout@v3
@@ -57,29 +58,28 @@ jobs:
5758 run : make test
5859
5960 - name : Generate Prelude HTML
60- if : ${{ (matrix.ghc == '9.6.3' ) && (github.event_name != 'pull_request') }}
61+ if : ${{ (matrix.ghc == martix.deploy-ghc ) && (github.event_name != 'pull_request') }}
6162 run : make libHtml
6263
6364 - name : Deploy Prelude HTML
64- if : ${{ (matrix.ghc == '9.6.3' ) && (github.event_name != 'pull_request') }}
65+ if : ${{ (matrix.ghc == martix.deploy-ghc ) && (github.event_name != 'pull_request') }}
6566 uses : peaceiris/actions-gh-pages@v3
6667 with :
6768 github_token : ${{ secrets.GITHUB_TOKEN }}
6869 publish_dir : html
6970 destination_dir : lib
7071
7172 - name : Generate test-suite HTML
72- if : ${{ (matrix.ghc == '9.6.3' ) && (github.event_name != 'pull_request') }}
73+ if : ${{ (matrix.ghc == martix.deploy-ghc ) && (github.event_name != 'pull_request') }}
7374 run : |
7475 sudo apt-get install -y pandoc zsh
7576 make testHtml
7677
7778 - name : Deploy test-suite HTML
78- if : ${{ (matrix.ghc == '9.6.3' ) && (github.event_name != 'pull_request') }}
79+ if : ${{ (matrix.ghc == martix.deploy-ghc ) && (github.event_name != 'pull_request') }}
7980 uses : peaceiris/actions-gh-pages@v3
8081 with :
8182 github_token : ${{ secrets.GITHUB_TOKEN }}
8283 publish_dir : test/html
8384 destination_dir : test
8485
85-
You can’t perform that action at this time.
0 commit comments