Files
gofilepy/.github/workflows/build_release.yml
2025-12-10 16:44:02 +01:00

35 lines
636 B
YAML

name: Build and Release
on:
push:
branches: [ main ]
tags:
- 'v*'
paths-ignore:
- "README.md"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/