Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Build data pack
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1.2.1
with:
virtualenvs-in-project: true
- name: Setup cache
id: cached-poetry-dependencies
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install
- name: Build data pack
run: poetry run beet build
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: 'one-hundred-tiny-spiders'
path: ${{ github.workspace }}/out/one-hundred-tiny-spiders/