diff --git a/.github/workflows/build_dependencies.yml b/.github/workflows/build_dependencies.yml index 4253c330f..06b123778 100644 --- a/.github/workflows/build_dependencies.yml +++ b/.github/workflows/build_dependencies.yml @@ -163,8 +163,9 @@ jobs: - name: Build Cache run: | + pre=$([[ "${{ inputs.build-type }}" != "Debug" ]] && echo "-o sisl:prerelease=${{ inputs.prerelease }}" || echo "") conan install \ - -o sisl:prerelease=${{ inputs.prerelease }} \ + ${pre} \ -o sisl:malloc_impl=${{ inputs.malloc-impl }} \ -o iomgr:testing=off \ -o nuraft_mesg:testing=False \ @@ -208,8 +209,9 @@ jobs: - name: Create and Test Package run: | sanitize=$([[ "${{ inputs.tooling }}" == "Sanitize" ]] && echo "True" || echo "False") + pre=$([[ "${{ inputs.build-type }}" != "Debug" ]] && echo "-o sisl:prerelease=${{ inputs.prerelease }}" || echo "") conan create \ - -o sisl:prerelease=${{ inputs.prerelease }} \ + ${pre} \ -o sisl:malloc_impl=${{ inputs.malloc-impl }} \ -o iomgr:testing=off \ -o nuraft_mesg:testing=False \ @@ -221,8 +223,9 @@ jobs: - name: Code Coverage Run run: | + pre=$([[ "${{ inputs.build-type }}" != "Debug" ]] && echo "-o sisl:prerelease=${{ inputs.prerelease }}" || echo "") conan install \ - -o sisl:prerelease=${{ inputs.prerelease }} \ + ${pre} \ -o sisl:malloc_impl=${{ inputs.malloc-impl }} \ -o iomgr:testing=off \ -o nuraft_mesg:testing=False \