Skip to content

Commit a54139d

Browse files
committed
add access to the cache-version setting to defeat corrupted caches
1 parent 9f6497b commit a54139d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ruby/publish/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ inputs:
1616
aws_secret_id:
1717
description: The AWS_SECRET_ID defined for this project
1818
required: true
19+
bundler_cache_version:
20+
description: The cache-version to use for the bundler cache
21+
required: false
22+
default: 0
1923
dry_run:
2024
description: Whether this is a dry run or not ("false" for releases)
2125
required: true
@@ -49,6 +53,7 @@ runs:
4953
with:
5054
ruby-version: '3.2'
5155
bundler-cache: true
56+
cache-version: ${{ inputs.bundler_cache_version }}
5257

5358
- name: Get the release version
5459
shell: bash

0 commit comments

Comments
 (0)