File tree Expand file tree Collapse file tree 2 files changed +1
-122
lines changed Expand file tree Collapse file tree 2 files changed +1
-122
lines changed Original file line number Diff line number Diff line change 1919 required : false
2020 default : false
2121 type : " boolean"
22- ruby_version :
23- description : " Ruby version to use"
24- required : false
25- default : ' 3.1'
26- type : " string"
27- puppetcore_api_type :
28- description : " The type of API to use for Puppet Core."
29- required : false
30- default : ' forge-key'
31- type : " string"
3222
33- # ENABLE PUPPETCORE. The calling workflow must:
34- # - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
35- # - Set ruby_version >= 3.1 to override this workflow's default 2.7; otherwise bundle install will fail.
36- env :
37- PUPPET_FORGE_TOKEN : ${{ secrets.PUPPET_FORGE_TOKEN }}
38- BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM : " ${{ inputs.puppetcore_api_type }}:${{ secrets.PUPPET_FORGE_TOKEN }}"
3923
4024jobs :
4125 setup_matrix :
5741 - name : " Setup ruby"
5842 uses : " ruby/setup-ruby@v1"
5943 with :
60- ruby-version : ${{ inputs.ruby_version }}
44+ ruby-version : " 2.7 "
6145 bundler-cache : true
6246
6347 - name : " Bundle environment"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments