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 - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.11'
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 # Use a generic run step for FreeBSD if actions/setup-python
with: # fails in restricted environments.
python-version: '3.11' run: |
python3 --version
python3 -m ensurepip --upgrade
- name: Install build tools - name: Install build tools
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install build twine # pip install build twine
- name: Build package - name: Build package
run: python -m build run: python -m build