File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -98,26 +98,11 @@ jobs:
9898 env :
9999 OS : ${{ runner.os }}
100100 run : |
101- if [[ "$OS" != "Linux" ]]; then
102- echo "VARIANT=sccache" >> $GITHUB_OUTPUT
103- else
104- echo "VARIANT=ccache" >> $GITHUB_OUTPUT
105- echo "MAX_SIZE=500M" >> $GITHUB_OUTPUT
106- fi
107101 if [[ "$OS" == "macOS" ]]; then
108102 echo "SCCACHE_CACHE_MULTIARCH=1" >> $GITHUB_ENV
109103 fi
110104
111- - name : Setup ccache
112- if : steps.ccache.outputs.variant == 'ccache'
113- uses : hendrikmuhs/ccache-action@v1.2
114- with :
115- key : ${{ matrix.os }}-${{ matrix.python_version }}
116- variant : ccache
117- max-size : ${{ steps.ccache.outputs.max_size }}
118-
119105 - name : Setup sccache
120- if : steps.ccache.outputs.variant == 'sccache'
121106 uses : mozilla-actions/sccache-action@v0.0.7
122107
123108 - name : Install deps
@@ -136,7 +121,7 @@ jobs:
136121 ./rdev.sh ci run
137122 env :
138123 RPYBUILD_STRIP_LIBPYTHON : " 1"
139- RPYBUILD_CC_LAUNCHER : ${{ steps.ccache.outputs.variant }}
124+ RPYBUILD_CC_LAUNCHER : sccache
140125 SCCACHE_WEBDAV_USERNAME : ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
141126 SCCACHE_WEBDAV_PASSWORD : ${{ secrets.WPI_ARTIFACTORY_TOKEN }}
142127
You can’t perform that action at this time.
0 commit comments