File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -12,17 +12,24 @@ jobs:
12
12
- uses : actions/checkout@v2
13
13
- name : Get Julia compatibility
14
14
id : julia_compat
15
- # NOTE: this requires a julia compat lower-bound with minor version!
15
+ # NOTE: this requires a Julia compat lower-bound with minor version!
16
16
run : |
17
17
version=$(grep '^julia = ' Project.toml | grep -o '".*"' | cut -d '"' -f2)
18
18
echo "::set-output name=version::$version"
19
19
- uses : julia-actions/setup-julia@v1
20
20
with :
21
- # version: ${{ steps.julia_compat.outputs.version }}
22
- version : " 1.6"
23
- - name : Pkg.add("CompatHelper")
24
- run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
25
- - name : CompatHelper.main()
21
+ version : ${{ steps.julia_compat.outputs.version }}
22
+ - name : Install CompatHelper
23
+ run : |
24
+ import Pkg
25
+ name = "CompatHelper"
26
+ version = "2"
27
+ Pkg.add(; name, version)
28
+ shell : julia --color=yes {0}
29
+ - name : Run CompatHelper
30
+ run : |
31
+ using CompatHelper
32
+ CompatHelper.main()
33
+ shell : julia --color=yes {0}
26
34
env :
27
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
- run : julia -e 'using CompatHelper; CompatHelper.main( (; registries) -> CompatHelper._update_manifests(String[pwd()]; registries = registries, delete_old_manifest = false) )'
Original file line number Diff line number Diff line change 18
18
echo "::set-output name=version::$version"
19
19
- uses : julia-actions/setup-julia@v1
20
20
with :
21
- # version: ${{ steps.julia_compat.outputs.version }}
22
- version : " 1.6"
21
+ version : ${{ steps.julia_compat.outputs.version }}
23
22
- name : Update packages
24
23
id : pkg_update
25
24
run : |
You can’t perform that action at this time.
0 commit comments