Skip to content

Commit b073ecb

Browse files
authored
Update CompatHelper.yml (#684)
1 parent 0fc0946 commit b073ecb

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
11
name: CompatHelper
2-
32
on:
43
schedule:
5-
- cron: '00 * * * *'
6-
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
76
jobs:
87
CompatHelper:
9-
runs-on: ${{ matrix.os }}
10-
strategy:
11-
matrix:
12-
julia-version: [1.2.0]
13-
julia-arch: [x86]
14-
os: [ubuntu-latest]
8+
runs-on: ubuntu-latest
159
steps:
16-
- uses: julia-actions/setup-julia@latest
17-
with:
18-
version: ${{ matrix.julia-version }}
19-
- name: Pkg.add("CompatHelper")
20-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
21-
- name: 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}
2229
env:
2330
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24-
run: julia -e 'using CompatHelper; CompatHelper.main( (; registries) -> CompatHelper._update_manifests(pwd(); registries = registries) )'
31+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
32+
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}

0 commit comments

Comments
 (0)