Add automatic workflow build artifact cleanup.
This commit is contained in:
13
.github/workflows/nightly_cleanup.yml
vendored
Normal file
13
.github/workflows/nightly_cleanup.yml
vendored
Normal file
@@ -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
|
@@ -41,10 +41,10 @@
|
|||||||
* here we define this default string as the date where the latest release
|
* here we define this default string as the date where the latest release
|
||||||
* version was tagged.
|
* 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
|
#ifndef STRING_DISTRIBUTION_DATE
|
||||||
#define STRING_DISTRIBUTION_DATE "2021-04-10"
|
#define STRING_DISTRIBUTION_DATE "2021-04-11"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user