2024-06-16 06:56:12 -04:00
|
|
|
name: Build
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-06-22 01:29:20 -04:00
|
|
|
- name: Upload the package
|
|
|
|
uses: actions/upload-artifact@v3
|
2024-06-16 06:56:12 -04:00
|
|
|
with:
|
2024-06-22 01:29:20 -04:00
|
|
|
name: package
|
|
|
|
path: ./dist/*
|