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