Skip to content

Commit 610daea

Browse files
authored
feat(ruby-version): Add an input for Ruber vesion (#128)
Add a nez input for the Ruby version: `ruby_version` into the flutter.publish.yml workflow This change to prevent errors like this : https://github.com/vareversat/chabo-app/actions/runs/29206748976/job/86688237829
1 parent 192a426 commit 610daea

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/flutter.publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
url:
1010
description: 'Set the Playstore URL of the app'
1111
type: string
12+
ruby_version:
13+
description: 'The Ruby version used for Fastlane (ex: 3.4.10)'
14+
required: true
15+
type: string
1216
jobs:
1317
play_store:
1418
environment:
@@ -34,7 +38,7 @@ jobs:
3438
- name: 'Setup Ruby'
3539
uses: ruby/setup-ruby@v1.312.0
3640
with:
37-
ruby-version: '3.4.10'
41+
ruby-version: ${{ inputs.ruby_version }}
3842
bundler-cache: true
3943
env:
4044
BUNDLE_GEMFILE: 'android/Gemfile'

0 commit comments

Comments
 (0)