Fetch JuliaCon2024 schedule #2526
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: Fetch JuliaCon2024 schedule | |
on: | |
schedule: | |
- cron: '40 * * * *' # every hour | |
push: | |
paths: | |
- '.github/workflows/fetch_juliacon_schedule.yml' | |
- 'juliacon2024_schedule/fetch.jl' | |
jobs: | |
fetch_data: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache JuliaCon schedule | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-juliacon-schedule | |
with: | |
path: ~/.julia | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Update Data | |
run: | | |
cd juliacon2024_schedule | |
julia --project -e 'import Pkg; Pkg.instantiate(); include("fetch.jl");' | |
cd .. | |
- name: Commit and Push | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: fetch juliacon schedule |