Skip to content

Add lapwing

Add lapwing #35

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches: [ main ]
tags-ignore:
- 'continuous'
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install genanki
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Generate deck file
run: |
python steno_anki/main.py
- name: Automatic Releases
if: ${{ github.ref == 'refs/heads/main' }}
uses: marvinpinto/action-automatic-releases@v1.2.1
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
automatic_release_tag: 'continuous'
draft: false
prerelease: true
title: 'Continuous Build'
files: |
dist/*.apkg