anki-decks/.github/workflows/release.yaml
Jack Halford ccce457dfd
Some checks are pending
/ release (push) Waiting to run
ci: another token
2025-04-19 00:36:35 +02:00

18 lines
449 B
YAML

on:
push:
branches: [main]
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: ./blind_chess.py
- env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
date=$(date +%y-%m-%d)
gh release delete --yes $date || :
gh release create --notes "" $date blind_chess.apkg