Skip to content

Commit 9c72486

Browse files
authored
Config options for Ruby publish action (#70)
1 parent 4c9e313 commit 9c72486

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ruby/publish/action.yml

Lines changed: 10 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
@@ -31,6 +35,10 @@ inputs:
3135
release_message_template:
3236
description: The template for the release message. Use "{0}" in the text to refer to the current version.
3337
required: true
38+
rubygems_version:
39+
description: The version of Rubygems to use (see setup-ruby/action.yml)
40+
required: false
41+
default: latest
3442
silk_asset_group:
3543
description: The Silk asset group for the project
3644
required: true
@@ -48,7 +56,9 @@ runs:
4856
uses: ruby/setup-ruby@v1
4957
with:
5058
ruby-version: '3.2'
59+
rubygems: ${{ inputs.rubygems_version }}
5160
bundler-cache: true
61+
cache-version: ${{ inputs.bundler_cache_version }}
5262

5363
- name: Get the release version
5464
shell: bash

0 commit comments

Comments
 (0)