Skip to content

endoflife.date

endoflife.date #85

name: endoflife.date
on:
push:
paths:
- .github/workflows/flat.endoflife.date.yml
workflow_dispatch:
schedule:
# Run this workflow: At 9:09am on every 5th day from 1st through 31st
# https://cron.help/#8_8_1/5_*_*
- cron: '9 9 1/5 * *'
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Setup deno
uses: denoland/setup-deno@main
with:
deno-version: v1.x
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://endoflife.date/api/iphone.json
downloaded_filename: data/endoflife.date/iphone.min.json
postprocess: src/endoflife.date/postprocess.ts
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://endoflife.date/api/ios.json
downloaded_filename: data/endoflife.date/ios.min.json
postprocess: src/endoflife.date/postprocess.ts