Skip to content

Commit bfc6656

Browse files
authored
Update CompatHelper.yml
1 parent 83b8cec commit bfc6656

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,8 @@
1-
# CompatHelper v3.5.0
21
name: CompatHelper
32
on:
43
schedule:
54
- cron: 0 0 * * *
65
workflow_dispatch:
7-
permissions:
8-
contents: write
9-
pull-requests: write
106
jobs:
117
CompatHelper:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- name: Check if Julia is already available in the PATH
15-
id: julia_in_path
16-
run: which julia
17-
continue-on-error: true
18-
- name: Install Julia, but only if it is not already available in the PATH
19-
uses: julia-actions/setup-julia@v1
20-
with:
21-
version: '1'
22-
arch: ${{ runner.arch }}
23-
if: steps.julia_in_path.outcome != 'success'
24-
- name: "Add the General registry via Git"
25-
run: |
26-
import Pkg
27-
ENV["JULIA_PKG_SERVER"] = ""
28-
Pkg.Registry.add("General")
29-
shell: julia --color=yes {0}
30-
- name: "Install CompatHelper"
31-
run: |
32-
import Pkg
33-
name = "CompatHelper"
34-
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
35-
version = "3"
36-
Pkg.add(; name, uuid, version)
37-
shell: julia --color=yes {0}
38-
- name: "Run CompatHelper"
39-
run: |
40-
import CompatHelper
41-
CompatHelper.main(; subdirs=["", "docs", "test"], entry_type=CompatHelper.DropEntry())
42-
shell: julia --color=yes {0}
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
46-
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
8+
uses: control-toolbox/CTActions/.github/workflows/compat-helper.yml@main

0 commit comments

Comments
 (0)