File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change 33 schedule :
44 - cron : 0 0 * * *
55 workflow_dispatch :
6+ permissions :
7+ contents : write
8+ pull-requests : write
69jobs :
710 CompatHelper :
811 runs-on : ubuntu-latest
912 steps :
10- - name : Pkg.add("CompatHelper")
11- run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
12- - name : CompatHelper.main()
13+ - name : Check if Julia is already available in the PATH
14+ id : julia_in_path
15+ run : which julia
16+ continue-on-error : true
17+ - name : Install Julia, but only if it is not already available in the PATH
18+ uses : julia-actions/setup-julia@v1
19+ with :
20+ version : ' 1'
21+ arch : ${{ runner.arch }}
22+ if : steps.julia_in_path.outcome != 'success'
23+ - name : " Add the General registry via Git"
24+ run : |
25+ import Pkg
26+ ENV["JULIA_PKG_SERVER"] = ""
27+ Pkg.Registry.add("General")
28+ shell : julia --color=yes {0}
29+ - name : " Install CompatHelper"
30+ run : |
31+ import Pkg
32+ name = "CompatHelper"
33+ uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
34+ version = "3"
35+ Pkg.add(; name, uuid, version)
36+ shell : julia --color=yes {0}
37+ - name : " Run CompatHelper"
38+ run : |
39+ import CompatHelper
40+ CompatHelper.main()
41+ shell : julia --color=yes {0}
1342 env :
1443 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1544 COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
16- run : julia -e 'using CompatHelper; CompatHelper.main()'
45+ # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1313RadeonProRender_jll = " e92fa02b-1b7a-5e4e-a5cb-14fe26dfc45b"
1414
1515[compat ]
16- CEnum = " 0.4"
16+ CEnum = " 0.4, 0.5 "
1717Colors = " 0.9, 0.10, 0.11, 0.12"
1818GeometryBasics = " 0.4.1"
1919RadeonProRender_jll = " =3.1.2"
You can’t perform that action at this time.
0 commit comments