Skip to content

Commit 64100c2

Browse files
authored
Update CompatHelper.yml
1 parent 2a916cf commit 64100c2

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,31 @@ name: CompatHelper
22
on:
33
schedule:
44
- cron: 0 0 * * *
5+
workflow_dispatch:
56
jobs:
6-
build:
7+
CompatHelper:
78
runs-on: ubuntu-latest
89
steps:
9-
- name: Pkg.add("CompatHelper")
10-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
11-
- name: CompatHelper.main()
12-
run: julia -e 'using CompatHelper; CompatHelper.main()'
10+
- name: "Add the General registry via Git"
11+
run: |
12+
import Pkg
13+
ENV["JULIA_PKG_SERVER"] = ""
14+
Pkg.Registry.add("General")
15+
shell: julia --color=yes {0}
16+
- name: "Install CompatHelper"
17+
run: |
18+
import Pkg
19+
name = "CompatHelper"
20+
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
21+
version = "3"
22+
Pkg.add(; name, uuid, version)
23+
shell: julia --color=yes {0}
24+
- name: "Run CompatHelper"
25+
run: |
26+
import CompatHelper
27+
CompatHelper.main()
28+
shell: julia --color=yes {0}
1329
env:
1430
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
32+

0 commit comments

Comments
 (0)