fix release.yml for freebsd runner

This commit is contained in:
Andreas Wrede
2026-04-04 15:11:56 -04:00
parent 8dd002d159
commit 43fad7beed
+10 -4
View File
@@ -11,15 +11,21 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.11'
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
# Use a generic run step for FreeBSD if actions/setup-python
# fails in restricted environments.
run: |
python3 --version
python3 -m ensurepip --upgrade
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
# pip install build twine
- name: Build package
run: python -m build