File tree Expand file tree Collapse file tree 1 file changed +22
-8
lines changed Expand file tree Collapse file tree 1 file changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,32 @@ name: CompatHelper
2
2
3
3
on :
4
4
schedule :
5
- - cron : ' 00 00 * * *'
5
+ - cron : 0 0 * * *
6
+ workflow_dispatch :
6
7
7
8
jobs :
8
9
CompatHelper :
9
10
runs-on : ubuntu-latest
10
11
steps :
11
- - uses : julia-actions/setup-julia@latest
12
- with :
13
- version : 1.3
14
- - name : Pkg.add("CompatHelper")
15
- run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
16
- - name : CompatHelper.main()
12
+ - name : " Add the General registry via Git"
13
+ run : |
14
+ import Pkg
15
+ ENV["JULIA_PKG_SERVER"] = ""
16
+ Pkg.Registry.add("General")
17
+ shell : julia --color=yes {0}
18
+ - name : " Install CompatHelper"
19
+ run : |
20
+ import Pkg
21
+ name = "CompatHelper"
22
+ uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
23
+ version = "3"
24
+ Pkg.add(; name, uuid, version)
25
+ shell : julia --color=yes {0}
26
+ - name : " Run CompatHelper"
27
+ run : |
28
+ import CompatHelper
29
+ CompatHelper.main(; subdirs = ["", "test"], bump_version=true)
30
+ shell : julia --color=yes {0}
17
31
env :
18
32
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19
- run : julia -e 'using CompatHelper; CompatHelper.main()'
33
+ COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments