File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ # CompatHelper v3.5.0
2
+ name : CompatHelper
3
+ on :
4
+ schedule :
5
+ - cron : 0 0 * * *
6
+ workflow_dispatch :
7
+ permissions :
8
+ contents : write
9
+ pull-requests : write
10
+ jobs :
11
+ CompatHelper :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Check if Julia is already available in the PATH
15
+ id : julia_in_path
16
+ run : which julia
17
+ continue-on-error : true
18
+ - name : Install Julia, but only if it is not already available in the PATH
19
+ uses : julia-actions/setup-julia@v1
20
+ with :
21
+ version : ' 1'
22
+ arch : ${{ runner.arch }}
23
+ if : steps.julia_in_path.outcome != 'success'
24
+ - name : " Add the General registry via Git"
25
+ run : |
26
+ import Pkg
27
+ ENV["JULIA_PKG_SERVER"] = ""
28
+ Pkg.Registry.add("General")
29
+ shell : julia --color=yes {0}
30
+ - name : " Install CompatHelper"
31
+ run : |
32
+ import Pkg
33
+ name = "CompatHelper"
34
+ uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
35
+ version = "3"
36
+ Pkg.add(; name, uuid, version)
37
+ shell : julia --color=yes {0}
38
+ - name : " Run CompatHelper"
39
+ run : |
40
+ import CompatHelper
41
+ CompatHelper.main()
42
+ shell : julia --color=yes {0}
43
+ env :
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
+ COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
46
+ # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
You can’t perform that action at this time.
0 commit comments