nightly #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nightly | |
on: | |
schedule: | |
- cron: "0 4 * * *" # every day at 4am | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "poetry" | |
- name: Install Python dependencies | |
run: poetry install | |
- name: Check | |
env: | |
APIFY_TOKEN: ${{ secrets.APIFY_TOKEN }} | |
run: poetry run jgp check | |
- name: Build | |
env: | |
APIFY_TOKEN: ${{ secrets.APIFY_TOKEN }} | |
run: poetry run jgp build |