-
Notifications
You must be signed in to change notification settings - Fork 20
39 lines (35 loc) · 1002 Bytes
/
CompatHelper.yml
File metadata and controls
39 lines (35 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CompatHelper
env:
registry_path: bhftbootcamp/Green
on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
jobs:
CompatHelper:
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/cache@v2
- name: Add registry to environment
run: |
julia -e '
using Pkg
Pkg.update()
Pkg.Registry.add(Pkg.RegistrySpec(; url = "https://github.com/${{ env.registry_path }}.git"))
Pkg.Registry.update()
'
- name: Configure CompatHelper
run: |
julia -e '
using Pkg
Pkg.add("CompatHelper")
using CompatHelper
CompatHelper.main(use_existing_registries = true)
'
env:
GITHUB_TOKEN: ${{ github.token }} # Token required to create a pull request to the same repository