diff --git a/.github/actions/build-linux-arm/action.yml b/.github/actions/build-linux-arm/action.yml index 6d12b5e9..6741548a 100644 --- a/.github/actions/build-linux-arm/action.yml +++ b/.github/actions/build-linux-arm/action.yml @@ -50,6 +50,12 @@ runs: restore-keys: | ${{ runner.os }}-yarn- + - name: Delete old electron headers + # These can sometimes be present on a freshly-provisioned github runner, so remove them + shell: bash + run: | + rm -rf ~/.electron-gyp || true + - name: Install dependencies and tools shell: bash run: | diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 6ff94090..5afc6cfa 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -51,6 +51,12 @@ runs: restore-keys: | ${{ runner.os }}-yarn- + - name: Delete old electron headers + # These can sometimes be present on a freshly-provisioned github runner, so remove them + shell: bash + run: | + rm -rf ~/.electron-gyp || true + - name: Install shell: bash run: yarn install