diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 999718ced..7c4e84a37 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -151,14 +151,14 @@ jobs: run: | /build/venv/bin/cross-pip --disable-pip-version-check install -r photon-lib/py/build_requirements.txt - - run: git fetch --tags --force - - run: | - chmod +x gradlew - ./gradlew photon-targeting:build photon-lib:build -i -PpythonExecutable=/build/venv/bin/cross-python - ./gradlew photon-lib:installPhotonlibpyNative -PpythonExecutable=/build/venv/bin/cross-python - - - name: Build wheel - working-directory: ./photon-lib/py - # disable isolation so we can run stubgen (ew but w/e) - run: | - /build/venv/bin/cross-python -m build -swn + - run: git fetch --tags --force + - run: | + chmod +x gradlew + ./gradlew photon-targeting:build photon-lib:build -i -PpythonExecutable=/build/venv/bin/cross-python + ./gradlew photon-lib:installPhotonlibpyNative -PpythonExecutable=/build/venv/bin/cross-python + + - name: Build wheel + working-directory: ./photon-lib/py + # disable isolation so we can run stubgen (ew but w/e) + run: | + /build/venv/bin/cross-python -m build -swn