Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Update arXiv Articles
on:
schedule:
- cron: '0 8 * * *' # utc time
push:
branches:
- main
jobs:
update-arxiv:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: pip install feedparser
- name: Run script
run: python arxiv2mail.py