Skip to content

Commit ba64d0c

Browse files
committed
Update CompatHelper workflow
1 parent 5bd793b commit ba64d0c

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
name: CompatHelper
2-
32
on:
43
schedule:
5-
- cron: '0 0 * * *'
6-
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
76
jobs:
87
CompatHelper:
98
runs-on: ubuntu-latest
109
steps:
11-
- name: Add CompatHelper
12-
run: julia --color=yes -e 'using Pkg; Pkg.add("CompatHelper")'
13-
- name: Run CompatHelper
10+
- name: "Install CompatHelper"
11+
run: |
12+
import Pkg
13+
name = "CompatHelper"
14+
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
15+
version = "2"
16+
Pkg.add(; name, uuid, version)
17+
shell: julia --color=yes {0}
18+
- name: "Run CompatHelper"
19+
run: |
20+
import CompatHelper
21+
CompatHelper.main(master_branch = "master")
22+
shell: julia --color=yes {0}
1423
env:
1524
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16-
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
17-
run: julia --color=yes -e 'using CompatHelper; CompatHelper.main(master_branch = "master")'
25+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
26+
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}

0 commit comments

Comments
 (0)