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