diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 340ffbd..dc7ca23 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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