Skip to content

Commit

Permalink
fix: Update release.yml
Browse files Browse the repository at this point in the history
The macos-14 workaround is seemingly causing issues on macos-13, so we add the workaround only for macos-14
  • Loading branch information
zevlee committed Oct 9, 2024
1 parent 013da04 commit f7c4bbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions macos/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f7c4bbd

Please sign in to comment.