Skip to content

Commit

Permalink
fix: Temporary fix for excessive build minutes consumption and commen…
Browse files Browse the repository at this point in the history
…ting out PyPi publishing code since it errors out
  • Loading branch information
robdmoore committed Nov 29, 2022
1 parent 31e1c16 commit 399ca0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
build-python:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
#os: ["ubuntu-latest", "macos-latest", "windows-latest"]
# Mac and Windows chew through build minutes - waiting until repo is public to enable
os: ["ubuntu-latest"]
python: ["3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
poetry run semantic-release \
--prerelease \
publish
# --define=upload_to_repository=true \
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY_USERNAME: ${{ secrets.PYPI_TOKEN }}
Expand All @@ -77,8 +78,8 @@ jobs:
run: |
poetry run semantic-release \
--define=version_source="commit" \
--define=upload_to_repository=${{ secrets.PYPI_TOKEN != '' }} \
publish
# --define=upload_to_repository=true \
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY_USERNAME: ${{ secrets.PYPI_TOKEN }}
Expand All @@ -91,8 +92,8 @@ jobs:
--prerelease \
--define=prerelease_tag=beta+${{ steps.get_branch.outputs.branch }} \
--define=branch=${{ steps.get_branch.outputs.branch }} \
--define=upload_to_repository=${{ secrets.PYPI_TOKEN != '' }} \
publish
# --define=upload_to_repository=true \
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY_USERNAME: ${{ secrets.PYPI_TOKEN }}
Expand Down

0 comments on commit 399ca0e

Please sign in to comment.