From 6368d8eda6acf4b27948c8af3462e9263a9f1b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wr=C3=B3blewski?= Date: Fri, 12 Jul 2024 08:09:38 +0200 Subject: [PATCH] refactor: ruby migration --- action.yml | 4 ++-- install-flutter-sdk.rb | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 2c23285..8afb916 100644 --- a/action.yml +++ b/action.yml @@ -13,6 +13,6 @@ runs: using: 'composite' steps: - run: chmod +x $GITHUB_ACTION_PATH/install-flutter-sdk.rb - shell: ruby + shell: bash - run: $GITHUB_ACTION_PATH/install-flutter-sdk.rb --channel ${{ inputs.channel }} - shell: ruby \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/install-flutter-sdk.rb b/install-flutter-sdk.rb index 288e2f0..e433842 100644 --- a/install-flutter-sdk.rb +++ b/install-flutter-sdk.rb @@ -1,3 +1,5 @@ +#!/bin/ruby + require 'optparse' require 'etc'