File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -95,13 +95,18 @@ jobs:
9595 - name : Set ccache params
9696 shell : bash
9797 id : ccache
98+ env :
99+ OS : ${{ runner.os }}
98100 run : |
99- if [[ "${{ runner.os }} " != "Linux" ]]; then
101+ if [[ "$OS " != "Linux" ]]; then
100102 echo "VARIANT=sccache" >> $GITHUB_OUTPUT
101103 else
102104 echo "VARIANT=ccache" >> $GITHUB_OUTPUT
103105 echo "MAX_SIZE=500M" >> $GITHUB_OUTPUT
104106 fi
107+ if [[ "$OS" == "macOS" ]]; then
108+ echo "SCCACHE_CACHE_MULTIARCH=1" >> $GITHUB_ENV
109+ fi
105110
106111 - name : Setup ccache
107112 if : steps.ccache.outputs.variant == 'ccache'
@@ -132,7 +137,6 @@ jobs:
132137 env :
133138 RPYBUILD_STRIP_LIBPYTHON : " 1"
134139 RPYBUILD_CC_LAUNCHER : ${{ steps.ccache.outputs.variant }}
135- SCCACHE_CACHE_MULTIARCH : " 1"
136140 SCCACHE_WEBDAV_USERNAME : ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
137141 SCCACHE_WEBDAV_PASSWORD : ${{ secrets.WPI_ARTIFACTORY_TOKEN }}
138142
You can’t perform that action at this time.
0 commit comments