From 399ca0eca85751c245a07abe2cbe9a73cce4172b Mon Sep 17 00:00:00 2001 From: Rob Moore Date: Tue, 29 Nov 2022 16:59:07 +0800 Subject: [PATCH] fix: Temporary fix for excessive build minutes consumption and commenting out PyPi publishing code since it errors out --- .github/workflows/build-python.yaml | 4 +++- .github/workflows/cd.yaml | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-python.yaml b/.github/workflows/build-python.yaml index 08b5a8a0..89e15b0c 100644 --- a/.github/workflows/build-python.yaml +++ b/.github/workflows/build-python.yaml @@ -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: diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 7283fa98..06a23c94 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -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 }} @@ -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 }} @@ -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 }}