@@ -102,7 +102,7 @@ jobs:
102102 conan-${{ matrix.toolchain.os }}-${{ matrix.formatting }}-${{ matrix.contracts }}-
103103 conan-${{ matrix.toolchain.os }}-${{ matrix.formatting }}-
104104 conan-${{ matrix.toolchain.os }}-
105- - uses : hendrikmuhs/ccache-action@v1.2.14
105+ - uses : hendrikmuhs/ccache-action@v1.2.22
106106 if : runner.os == 'Linux'
107107 with :
108108 key : ${{ matrix.toolchain.os }}-${{ matrix.formatting }}-${{ matrix.contracts }}-${{ matrix.toolchain.compiler.type }}-${{ matrix.toolchain.lib }}-${{ matrix.build_type }}-${{ matrix.toolchain.compiler.version }}-${{ matrix.std }}
@@ -236,18 +236,17 @@ jobs:
236236 - name : Generate job summary
237237 if : failure()
238238 shell : bash
239+ env :
240+ CONAN_SETTINGS : ${{ matrix.conan-settings }}
241+ CONAN_ARGS : ${{ matrix.conan-args }}
242+ COMPILER_TYPE : ${{ matrix.toolchain.compiler.type }}
239243 run : |
240244 echo "## ❌ Build Failed: ${{ matrix.config-summary-str }}" >> $GITHUB_STEP_SUMMARY
241245 echo "" >> $GITHUB_STEP_SUMMARY
242246 echo "**Local repro** (in the provided '.devcontainer' or GitHub CodeSpaces environment):" >> $GITHUB_STEP_SUMMARY
243247 echo '```sh' >> $GITHUB_STEP_SUMMARY
244- [ "${{ matrix.toolchain.compiler.type }}" != "MSVC" ] && ALL="True" || ALL="False"
245- {
246- echo -n "conan create . -b 'mp-units/*' -b missing "
247- echo -n '${{ matrix.conan-settings }}'
248- echo -n " -c user.mp-units.build:all=${ALL} "
249- echo '${{ matrix.conan-args }}'
250- } >> $GITHUB_STEP_SUMMARY
248+ [ "${COMPILER_TYPE}" != "MSVC" ] && ALL="True" || ALL="False"
249+ echo "conan create . -b 'mp-units/*' -b missing ${CONAN_SETTINGS} -c user.mp-units.build:all=${ALL} ${CONAN_ARGS}" >> $GITHUB_STEP_SUMMARY
251250 echo '```' >> $GITHUB_STEP_SUMMARY
252251
253252 outputs :
0 commit comments