File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,9 @@ data Config = MkConfig Arch Opsys [GHC]
279
279
instance ToJSON CI where
280
280
toJSON (CI cs) = object
281
281
[ " name" .= str " Build and release"
282
- , " on" .= [ str " push" ]
282
+ , " on" .= object [ " push" .= [object [" tags" .= [str " *" ]]]
283
+ , " schedule" .= [object [" cron" .= str " 0 2 * * 1" ]]
284
+ ]
283
285
, " env" .= object
284
286
[ " CABAL_CACHE_DISABLE" .= str " ${{ vars.CABAL_CACHE_DISABLE }}"
285
287
, " CABAL_CACHE_NONFATAL" .= str " ${{ vars.CABAL_CACHE_NONFATAL }}"
Original file line number Diff line number Diff line change @@ -3589,4 +3589,8 @@ jobs:
3589
3589
shell : pwsh
3590
3590
name : Build and release
3591
3591
' on ' :
3592
- - push
3592
+ push :
3593
+ - tags :
3594
+ - ' *'
3595
+ schedule :
3596
+ - cron : 0 2 * * 1
You can’t perform that action at this time.
0 commit comments