diff --git a/.github/workflows/manual_dispatch.yml b/.github/workflows/manual_dispatch.yml index b5da9456050d..6d0f71901a4d 100644 --- a/.github/workflows/manual_dispatch.yml +++ b/.github/workflows/manual_dispatch.yml @@ -30,6 +30,11 @@ on: type: boolean required: true default: false + save_cache: + description: 'Save Cache' + type: boolean + required: true + default: false jobs: lint_all: @@ -37,7 +42,7 @@ jobs: if: ${{ github.event.inputs.lints == 'true' }} uses: ./.github/workflows/reusable_lint.yml with: - SAVE_CACHE: false + SAVE_CACHE: ${{ github.event.inputs.save_cache == 'true' }} secrets: CALLER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -46,7 +51,7 @@ jobs: if: ${{ github.event.inputs.build_linux == 'true' }} uses: ./.github/workflows/reusable_build_and_test.yml with: - SAVE_CACHE: false + SAVE_CACHE: ${{ github.event.inputs.save_cache == 'true' }} PLATFORM: linux secrets: CALLER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -56,7 +61,7 @@ jobs: if: ${{ github.event.inputs.build_windows == 'true'}} uses: ./.github/workflows/reusable_build_and_test.yml with: - SAVE_CACHE: false + SAVE_CACHE: ${{ github.event.inputs.save_cache == 'true' }} PLATFORM: windows secrets: CALLER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -66,7 +71,7 @@ jobs: if: ${{ github.event.inputs.build_macos_arm == 'true' }} uses: ./.github/workflows/reusable_build_and_test.yml with: - SAVE_CACHE: false + SAVE_CACHE: ${{ github.event.inputs.save_cache == 'true' }} PLATFORM: macos-arm secrets: CALLER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -76,7 +81,7 @@ jobs: if: ${{ github.event.inputs.build_macos_intel == 'true' }} uses: ./.github/workflows/reusable_build_and_test.yml with: - SAVE_CACHE: false + SAVE_CACHE: ${{ github.event.inputs.save_cache == 'true' }} PLATFORM: macos-intel secrets: CALLER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}