File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -123,14 +123,12 @@ jobs:
123123 with :
124124 python-version : ' 3.11'
125125
126- # Work around https://github.com/actions/cache/issues/403 by using GNU tar
127- # instead of BSD tar.
128- # borrowed from https://github.com/rust-lang/rust-analyzer/pull/6208/files
129- - name : Install GNU tar
126+ # Work around for https://github.com/actions/runner-images/issues/2619?
127+ # Empty disk and memory cache
128+ - name : Purge on macOS
130129 if : ${{ matrix.buildplat[1] == 'macosx_*' }}
131130 run : |
132- brew install gnu-tar
133- echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV
131+ sudo /usr/sbin/purge
134132
135133 # Python version used to build sdist doesn't matter
136134 # wheel will be built from sdist with the correct version
@@ -145,6 +143,14 @@ jobs:
145143 shell : bash -el {0}
146144 run : echo "sdist_name=$(ls ./dist)" >> "$GITHUB_ENV"
147145
146+ # Work around for https://github.com/actions/runner-images/issues/2619?
147+ # Empty disk and memory cache
148+ # Again for good luck :)
149+ - name : Purge on macOS again
150+ if : ${{ matrix.buildplat[1] == 'macosx_*' }}
151+ run : |
152+ sudo /usr/sbin/purge
153+
148154 - name : Build wheels
149155 uses : pypa/cibuildwheel@v2.14.1
150156 with :
You can’t perform that action at this time.
0 commit comments