Skip to content

ooc-gensui cron

ooc-gensui cron #29

name: ooc-gensui cron
on: workflow_dispatch
#schedule:
#- cron: 40 * * * *
jobs:
TriggerMastobot:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4.7.0
with:
# Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset.
python-version: 3.10.12
- name: Install Dependencies
run: pip3 install Mastodon.py
run: pip install -r requirements.txt

Check failure on line 18 in .github/workflows/github-actions.yml

View workflow run for this annotation

GitHub Actions / ooc-gensui cron

Invalid workflow file

The workflow is not valid. .github/workflows/github-actions.yml (Line: 18, Col: 9): 'run' is already defined
- uses: actions/checkout@v2
- name: run.py
run: python run.py