Skip to content

Commit 93717f9

Browse files
authored
Update compat.yml
1 parent eb6999e commit 93717f9

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

.github/workflows/compat.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,33 @@
11
name: CompatHelper
2+
23
on:
34
schedule:
45
- cron: 0 0 * * *
56
workflow_dispatch:
7+
68
jobs:
79
CompatHelper:
810
runs-on: ubuntu-latest
911
steps:
10-
- name: Pkg.add("CompatHelper")
11-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12-
- name: CompatHelper.main()
12+
- name: "Add the General registry via Git"
13+
run: |
14+
import Pkg
15+
ENV["JULIA_PKG_SERVER"] = ""
16+
Pkg.Registry.add("General")
17+
shell: julia --color=yes {0}
18+
- name: "Install CompatHelper"
19+
run: |
20+
import Pkg
21+
name = "CompatHelper"
22+
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
23+
version = "3"
24+
Pkg.add(; name, uuid, version)
25+
shell: julia --color=yes {0}
26+
- name: "Run CompatHelper"
27+
run: |
28+
import CompatHelper
29+
CompatHelper.main(; subdirs = ["", "test"], bump_version=true)
30+
shell: julia --color=yes {0}
1331
env:
1432
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1533
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16-
run: julia -e 'using CompatHelper; CompatHelper.main()'

0 commit comments

Comments
 (0)