-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 1.01 KB
/
fetch_juliacon_schedule.yml
File metadata and controls
34 lines (33 loc) · 1.01 KB
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
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