Skip to content

check emails for points #764

check emails for points

check emails for points #764

Workflow file for this run

name: check emails for points
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Restore cached folder
id: cache-folder-restore
uses: actions/cache/restore@v3
with:
path: |
cache
key: ignore
restore-keys: |
folder-key-
- name: run main
uses: nick-fields/retry@v2
with:
timeout_minutes: 60
max_attempts: 3
retry_on: error
command: bash main.sh
env:
CONFIGURATION: ${{ secrets.CONFIGURATION }}
- name: Save folder
id: cache-folder-save
uses: actions/cache/save@v3
with:
path: |
cache
key: folder-key-${{ github.run_id }}
- uses: gautamkrishnar/keepalive-workflow@v1