diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a55f2c6..979d10c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,8 @@ jobs: - name: Install dependencies run: | ./macos/bootstrap.sh + python3 -m pip install pycairo + python3 -m pip install PyGObject - name: Set up environment env: MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }} @@ -86,7 +88,11 @@ jobs: uses: actions/checkout@v4 - name: Install dependencies run: | + # Workaround for externally-managed-environment error + python3 -m pip config --global set global.break-system-packages true ./macos/bootstrap.sh + python3 -m pip install pycairo + python3 -m pip install PyGObject - name: Set up environment env: MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }} diff --git a/macos/bootstrap.sh b/macos/bootstrap.sh index f32bff6..9685ec5 100755 --- a/macos/bootstrap.sh +++ b/macos/bootstrap.sh @@ -1,3 +1 @@ -# Workaround for externally-managed-environment error -python3 -m pip config --global set global.break-system-packages true brew install pygobject3 gtk4 adwaita-icon-theme libadwaita