From 6c69453bda264b3d9a9303fcb65a5a224123e31b Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 23 Jun 2025 11:41:31 +0100 Subject: [PATCH] fix: Disable conan uploads on schedule (#2253) --- .github/workflows/upload_conan_deps.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload_conan_deps.yml b/.github/workflows/upload_conan_deps.yml index ec1ec450..307ae37d 100644 --- a/.github/workflows/upload_conan_deps.yml +++ b/.github/workflows/upload_conan_deps.yml @@ -4,6 +4,12 @@ on: schedule: - cron: "0 9 * * 1-5" workflow_dispatch: + inputs: + force_source_build: + description: "Force source build of all dependencies" + required: false + default: false + type: boolean pull_request: branches: - develop @@ -73,7 +79,9 @@ jobs: uses: ./.github/actions/generate with: conan_profile: ${{ env.CONAN_PROFILE }} - force_conan_source_build: ${{ github.event_name == 'schedule' }} + # We check that everything builds fine from source on scheduled runs + # But we do build and upload packages with build=missing by default + force_conan_source_build: ${{ github.event_name == 'schedule' || github.event.inputs.force_source_build == 'true' }} build_type: ${{ matrix.build_type }} - name: Login to Conan @@ -81,5 +89,5 @@ jobs: run: conan remote login -p ${{ secrets.CONAN_PASSWORD }} ripple ${{ secrets.CONAN_USERNAME }} - name: Upload Conan packages - if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' && github.event_name != 'schedule' run: conan upload "*" -r=ripple --confirm