Skip to content

modify workflow time #8

modify workflow time

modify workflow time #8

name: Get Prediction

Check failure on line 1 in .github/workflows/get_prediction.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/get_prediction.yml

Invalid workflow file

invalid `cron` attribute "0 0 1 12 2025"
on:
schedule:
- cron: "0 0 1 12 2025"
workflow_dispatch:
jobs:
send-message:
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.11'
- name: Cache pip dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run script
env:
LINE_NOTIFY_TOKEN: ${{ secrets.LINE_NOTIFY_TOKEN }}
run: |
python cron_main.py