From 413a53ae137eaaebd020b0b7d4d4e1063c5981bd Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Sat, 12 Jun 2021 22:34:59 +0100 Subject: [PATCH] feat: add no-cache secret Acts as a flag to force the workflow to ignore the cache. --- .github/workflows/containers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 2c1398c..0290d33 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -4,7 +4,7 @@ env: zephyr-version: 2.4.0 zephyr-sdk-version: 0.11.4 sha-abbrev-length: 12 - no-cache: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }} + no-cache: ${{ secrets.NO_CACHE != null || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }} run-unit-tests: ${{ secrets.RUN_UNIT_TESTS != null }} docker-hub-credentials: ${{ secrets.DOCKER_HUB_USERNAME != null && secrets.DOCKER_HUB_TOKEN != null }} ghcr-credentials: ${{ secrets.GHCR_USERNAME != null && secrets.GHCR_TOKEN != null }}