mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-12-25 06:08:19 +00:00
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
|
name: CompatHelper
|
||
|
|
||
|
on:
|
||
|
schedule:
|
||
|
- cron: '00 * * * *'
|
||
|
|
||
|
jobs:
|
||
|
CompatHelper:
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
julia-version: [1.3.0]
|
||
|
julia-arch: [x86]
|
||
|
os: [ubuntu-latest]
|
||
|
steps:
|
||
|
- uses: julia-actions/setup-julia@latest
|
||
|
with:
|
||
|
version: ${{ matrix.julia-version }}
|
||
|
- name: Add CompatHelper
|
||
|
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
|
||
|
- name: CompatHelper.main
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
run: julia -e '
|
||
|
using CompatHelper, Pkg;
|
||
|
my_registries = [
|
||
|
Pkg.RegistrySpec(
|
||
|
name = "BioJuliaRegistry",
|
||
|
uuid = "ccbd2cc2-2954-11e9-1ccf-f3e7900901ca",
|
||
|
url = "https://github.com/BioJulia/BioJuliaRegistry.git"
|
||
|
),
|
||
|
Pkg.RegistrySpec(
|
||
|
name = "General",
|
||
|
uuid = "23338594-aafe-5451-b93e-139f81909106",
|
||
|
url = "https://github.com/JuliaRegistries/General.git"
|
||
|
)
|
||
|
];
|
||
|
CompatHelper.main(; registries = my_registries, master_branch = "master");'
|