Skip to content

Commit 83667fc

Browse files
Merge pull request #419 from FluxML/CarloLucibello-patch-2
Update CompatHelper.yml
2 parents 507f744 + d5b6b07 commit 83667fc

File tree

1 file changed

+28
-19
lines changed

1 file changed

+28
-19
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,35 @@
11
name: CompatHelper
2-
32
on:
43
schedule:
5-
- cron: '00 * * * *'
6-
issues:
7-
types: [opened, reopened]
8-
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
6+
permissions:
7+
contents: write
8+
pull-requests: write
99
jobs:
10-
build:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
julia-version: [1.2.0]
15-
julia-arch: [x86]
16-
os: [ubuntu-latest]
10+
CompatHelper:
11+
runs-on: ubuntu-latest
1712
steps:
18-
- uses: julia-actions/setup-julia@latest
19-
with:
20-
version: ${{ matrix.julia-version }}
21-
- name: Pkg.add("CompatHelper")
22-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
23-
- name: CompatHelper.main()
13+
- name: "Add the General registry via Git"
14+
run: |
15+
import Pkg
16+
ENV["JULIA_PKG_SERVER"] = ""
17+
Pkg.Registry.add("General")
18+
shell: julia --color=yes {0}
19+
- name: "Install CompatHelper"
20+
run: |
21+
import Pkg
22+
name = "CompatHelper"
23+
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
24+
version = "3"
25+
Pkg.add(; name, uuid, version)
26+
shell: julia --color=yes {0}
27+
- name: "Run CompatHelper"
28+
run: |
29+
import CompatHelper
30+
CompatHelper.main()
31+
shell: julia --color=yes {0}
2432
env:
2533
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
run: julia -e 'using CompatHelper; CompatHelper.main()'
34+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
35+
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}

0 commit comments

Comments
 (0)