From 585d46bf6afabc8612fd95db13cb0a824a29a4bd Mon Sep 17 00:00:00 2001 From: trchudley Date: Sun, 9 Jun 2024 10:15:23 +0100 Subject: [PATCH] image purge action --- .github/workflows/purge-cache.yml | 16 ++++++++++++++++ .github/workflows/unit_test.yml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/purge-cache.yml diff --git a/.github/workflows/purge-cache.yml b/.github/workflows/purge-cache.yml new file mode 100644 index 0000000..22a932d --- /dev/null +++ b/.github/workflows/purge-cache.yml @@ -0,0 +1,16 @@ + +# https://github.com/marketplace/actions/action-camo-purge + +name: Purge image cache + +on: + workflow_dispatch + schedule: + - cron: '52 2 * * *' # once per day in the early hours + +jobs: + purge: + runs-on: ubuntu-latest + + steps: + - uses: kevincobain2000/action-camo-purge@v1 diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 6a475f3..5678302 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -2,7 +2,7 @@ # https://pytest-with-eric.com/integrations/pytest-github-actions/ # https://github.com/mamba-org/setup-micromamba -name: Run Unit Tests +name: Run unit tests on: - push