From ed189964042e7a423cc6223a1eb1d6d9d48a4aaa Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Sat, 19 Oct 2024 14:11:42 +0200 Subject: [PATCH] optional build cache --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9747399..f324531 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,10 @@ on: type: boolean default: true description: include TIFF support + conan_cache: + type: boolean + default: true + description: cache conan artifacts jobs: @@ -82,6 +86,7 @@ jobs: echo path=`npx xpm run -q conan -- config home` >> $GITHUB_OUTPUT - name: Cache conan artifacts uses: actions/cache@v4 + if: inputs.conan_cache with: path: ${{ steps.conan_home.outputs.path }} key: conan-${{ inputs.id }}