1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-03 05:07:46 +02:00

Support skipping saving the cache again

This commit is contained in:
Christian Melchior 2023-02-01 15:58:57 +01:00
parent 627f0f41f6
commit 4486cc63b4

View file

@ -29,7 +29,7 @@ runs:
using: 'node16' using: 'node16'
main: 'dist/restore/index.js' main: 'dist/restore/index.js'
post: 'dist/save/index.js' post: 'dist/save/index.js'
post-if: success() post-if: success() && env.CACHE_SKIP_SAVE != 'true'
branding: branding:
icon: 'archive' icon: 'archive'
color: 'gray-dark' color: 'gray-dark'