From 5d470d3db031bdac9f822baa9435e4d43ab9cb09 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 18 Dec 2023 18:42:17 -0800 Subject: [PATCH] move our setuptools install earlier --- .github/workflows/build.yml | 6 ++++-- .github/workflows/publish.yml | 6 ++++-- .github/workflows/pull-requests.yml | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed255f79e..229b09970 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 756d91759..6a31341f5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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' diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index b89b2f54c..43d619f61 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -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 @@ -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'