StellarisModParser/.forgejo/workflows/publish.yaml

25 lines
591 B
YAML
Raw Normal View History

2024-06-22 01:29:20 -04:00
name: Publish
on:
push:
tags:
- '*'
jobs:
Build and Publish:
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 }}