Skip to content

Commit 0802ad2

Browse files
authored
Update CompatHelper.yml
1 parent 5c95900 commit 0802ad2

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,4 @@ permissions:
99
pull-requests: write
1010
jobs:
1111
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 }}
12+
uses: control-toolbox/CTActions/.github/workflows/compat-helper.yml@main

0 commit comments

Comments
 (0)