31 lines
622 B
YAML
31 lines
622 B
YAML
name: Cron Appletune
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 */6 * * *"
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
jobs:
|
|
Appletune:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@master
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.12"
|
|
cache: "pip" # caching pip dependencies
|
|
|
|
- name: Install Pip dependencies
|
|
run: pip install -r requirements.txt
|
|
|
|
- name: Run Anylist
|
|
run: python ./action_script/appletune_run.py
|