Skip to content

Commit

Permalink
Merge pull request #28 from JuliaGaussianProcesses/wct/update-compat-…
Browse files Browse the repository at this point in the history
…helper-action

Update CompatHelper
  • Loading branch information
willtebbutt committed Aug 26, 2021
2 parents 9f25ba0 + bcfe702 commit bebc12c
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/CompatHelper.yml
Expand Up @@ -7,10 +7,26 @@ jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
- name: "Add the General registry via Git"
run: |
import Pkg
ENV["JULIA_PKG_SERVER"] = ""
Pkg.Registry.add("General")
shell: julia --color=yes {0}
- name: "Install CompatHelper"
run: |
import Pkg
name = "CompatHelper"
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
version = "3"
Pkg.add(; name, uuid, version)
shell: julia --color=yes {0}
- name: "Run CompatHelper"
run: |
import CompatHelper
CompatHelper.main(; subdirs=["", "docs", "test"])
shell: julia --color=yes {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs=["", "docs", "test"])'
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}

0 comments on commit bebc12c

Please sign in to comment.