cache-version input allowing a forced change of the cache key

This commit is contained in:
Jakub Pavlik
2021-05-15 16:32:01 +02:00
committed by Benoit Daloze
parent 2eb6adbfb1
commit fa2182b2a4
4 changed files with 25 additions and 10 deletions
+6
View File
@@ -24,6 +24,12 @@ inputs:
description: 'The working directory to use for resolving paths for .ruby-version, .tool-versions and Gemfile.lock.'
required: false
default: '.'
cache-version:
description: |
Arbitrary string that will be added to the cache key of the bundler cache. Set or change it if you need
to invalidate the cache.
required: false
default: '0'
outputs:
ruby-prefix:
description: 'The prefix of the installed ruby'