Compatibility Helper #672
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compatibility Helper | |
on: | |
schedule: | |
- cron: '30 0 * * *' | |
issues: | |
types: [opened, reopened] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pull-requests: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
compatibility: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v1 | |
- uses: julia-actions/cache@v1 | |
- name: "Add the General registry via Git" | |
run: | | |
import Pkg | |
ENV["JULIA_PKG_SERVER"] = "" | |
Pkg.Registry.add("General") | |
shell: julia --color=yes {0} | |
- name: Pkg.add("CompatHelper") | |
run: julia -e 'using Pkg; Pkg.add("CompatHelper")' | |
- name: CompatHelper.main() | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} | |
run: | | |
using CompatHelper; | |
CompatHelper.main(; | |
entry_type = DropEntry(), subdirs = ["EpiAware"], bump_version = true | |
) | |
shell: julia --color=yes {0} |