From 3923bb488a65dcd2912cd438c37e043a84efe80b Mon Sep 17 00:00:00 2001 From: Hossein Pourbozorg Date: Sat, 16 Dec 2023 23:04:43 +0330 Subject: [PATCH] Update CompatHelper (#142) --- .github/workflows/CompatHelper.yml | 33 ++++++++++++++---------------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 7c17290..141ceee 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -1,27 +1,24 @@ name: CompatHelper - on: schedule: - - cron: '0 1 * * *' - issues: - types: [opened, reopened] - + - cron: '0 0 * * *' + push: + branches: + - 'main' jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - julia-version: [1.3.1] - julia-arch: [x64] - os: [ubuntu-latest] + CompatHelper: + runs-on: ubuntu-latest steps: - - uses: julia-actions/setup-julia@latest + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 with: - version: ${{ matrix.julia-version }} - - name: Install dependencies - run: julia -e 'using Pkg; Pkg.add(Pkg.PackageSpec(name = "CompatHelper", url = "https://github.com/bcbi/CompatHelper.jl.git"))' + version: '1' + arch: x64 + show-versioninfo: true + - name: Pkg.add + run: julia --color=yes -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - JULIA_DEBUG: CompatHelper - run: julia -e 'using CompatHelper; CompatHelper.main()' + COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} + run: julia --color=yes -e 'using CompatHelper; CompatHelper.main(; include_jll = true)'