From aa7b477b304d2f0c962b8b92c7c0a28f2fb735a2 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Sun, 11 Apr 2021 12:37:58 +0200 Subject: [PATCH] Add automatic workflow build artifact cleanup. --- .github/workflows/nightly_cleanup.yml | 13 +++++++++++++ Marlin/src/inc/Version.h | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/nightly_cleanup.yml diff --git a/.github/workflows/nightly_cleanup.yml b/.github/workflows/nightly_cleanup.yml new file mode 100644 index 00000000..bf3620a3 --- /dev/null +++ b/.github/workflows/nightly_cleanup.yml @@ -0,0 +1,13 @@ +name: 'nightly artifacts cleanup' +on: + schedule: + - cron: '0 1 * * *' # every night at 1 am UTC + +jobs: + delete-artifacts: + runs-on: ubuntu-latest + steps: + - uses: kolpav/purge-artifacts-action@v1 + with: + token: $ + expire-in: 7days # Set this to 0 to delete all artifacts \ No newline at end of file diff --git a/Marlin/src/inc/Version.h b/Marlin/src/inc/Version.h index e507cd94..7f36d968 100755 --- a/Marlin/src/inc/Version.h +++ b/Marlin/src/inc/Version.h @@ -41,10 +41,10 @@ * here we define this default string as the date where the latest release * version was tagged. */ - #define CUSTOM_BUILD_VERSION "1.2.0-Alpha.2" + #define CUSTOM_BUILD_VERSION "1.2.0-Alpha.3" #ifndef STRING_DISTRIBUTION_DATE - #define STRING_DISTRIBUTION_DATE "2021-04-10" + #define STRING_DISTRIBUTION_DATE "2021-04-11" #endif /**