Skip to content

Commit

Permalink
move our setuptools install earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
obra committed Dec 19, 2023
1 parent 4db32a8 commit 5d470d3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ jobs:
- name: Install udev-dev
run: sudo apt update && sudo apt install libudev-dev
if: runner.os == 'Linux'

- name: Workaround a missing python dep
if: matrix.os == 'macos-13'
run: |
sudo -H pip install setuptools
- name: Set up yarn network timeout
run: yarn config set network-timeout 1000000 -g

Expand All @@ -86,7 +89,6 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: |
sudo -H pip install setuptools
yarn run make --arch=universal
- name: Release (non-macos)
shell: bash
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ jobs:
- name: Install udev-dev
run: sudo apt update && sudo apt install libudev-dev
if: runner.os == 'Linux'

- name: Workaround a missing python dep
if: matrix.os == 'macos-13'
run: |
sudo -H pip install setuptools
- name: Set up yarn network timeout
run: yarn config set network-timeout 1000000 -g

Expand All @@ -76,7 +79,6 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: |
sudo -H pip install setuptools
yarn run publish --arch=universal
- name: Release (non-macos)
if: matrix.os != 'macos-13'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
- name: Install udev-dev
run: sudo apt update && sudo apt install libudev-dev
if: runner.os == 'Linux'

- name: Workaround a missing python dep
if: matrix.os == 'macos-13'
run: |
sudo -H pip install setuptools
- name: Set up yarn network timeout
run: yarn config set network-timeout 1000000 -g

Expand All @@ -37,7 +40,6 @@ jobs:
UNTRUSTED: 1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
sudo -H pip install setuptools
yarn run publish --arch=universal --dry-run
- name: Release (non-macos)
if: matrix.os != 'macos-13'
Expand Down

0 comments on commit 5d470d3

Please sign in to comment.