StellarisModParser/.forgejo/workflows/build.yaml
Seaswimmer d8688632e4
Some checks failed
Lint / Lint Code (Ruff & Pylint) (push) Failing after 14s
Build / Build and Push (push) Successful in 48s
fix build workflow
2024-06-16 06:59:46 -04:00

24 lines
586 B
YAML

name: Build
on:
push:
tags:
- '*'
jobs:
Build and Push:
runs-on: docker
container: www.coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: python3 -m venv .venv && ./.venv/bin/pip install -r ./requirements.txt
- name: Build the package
run: ./.venv/bin/python -m build
- name: Publish the package
uses: actions/pypi-publish@v1.8.14
with:
password: ${{ secrets.PYPI_API_TOKEN }}