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:
95
95
- name : Set ccache params
96
96
shell : bash
97
97
id : ccache
98
+ env :
99
+ OS : ${{ runner.os }}
98
100
run : |
99
- if [[ "${{ runner.os }} " != "Linux" ]]; then
101
+ if [[ "$OS " != "Linux" ]]; then
100
102
echo "VARIANT=sccache" >> $GITHUB_OUTPUT
101
103
else
102
104
echo "VARIANT=ccache" >> $GITHUB_OUTPUT
103
105
echo "MAX_SIZE=500M" >> $GITHUB_OUTPUT
104
106
fi
107
+ if [[ "$OS" == "macOS" ]]; then
108
+ echo "SCCACHE_CACHE_MULTIARCH=1" >> $GITHUB_ENV
109
+ fi
105
110
106
111
- name : Setup ccache
107
112
if : steps.ccache.outputs.variant == 'ccache'
@@ -132,7 +137,6 @@ jobs:
132
137
env :
133
138
RPYBUILD_STRIP_LIBPYTHON : " 1"
134
139
RPYBUILD_CC_LAUNCHER : ${{ steps.ccache.outputs.variant }}
135
- SCCACHE_CACHE_MULTIARCH : " 1"
136
140
SCCACHE_WEBDAV_USERNAME : ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
137
141
SCCACHE_WEBDAV_PASSWORD : ${{ secrets.WPI_ARTIFACTORY_TOKEN }}
138
142
You can’t perform that action at this time.
0 commit comments