diff --git a/Gemfile b/Gemfile index 4050d3c..d39415a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -gem 'fastlane' +# gem 'fastlane' plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') eval(File.read(plugins_path), binding) if File.exist?(plugins_path) \ No newline at end of file diff --git a/action.yml b/action.yml index 9dcf610..29e42d7 100644 --- a/action.yml +++ b/action.yml @@ -53,9 +53,9 @@ runs: with: ruby-version: ${{ inputs.ruby-version }} bundler-cache: true - - id: "SETUP_FASTLANE" - run: bundle install - shell: sh + # - id: "SETUP_FASTLANE" + # run: bundle install + # shell: sh - id: "SETUP_NODE" uses: actions/setup-node@v4 with: diff --git a/begin-action.sh b/begin-action.sh index 3013e1a..504c308 100755 --- a/begin-action.sh +++ b/begin-action.sh @@ -15,6 +15,9 @@ if [ diff -r -q $PWD $ACTION_PATH != 0]; then cp ${ACTION_PATH}/Gemfile ./ fi +bundle add fastlane +bundle install + if [ -n "${FASTLANE_ENV}" ]; then echo "Running fastlane with environment: ${FASTLANE_ENV}" bundle exec fastlane --env ${FASTLANE_ENV} android $BUILD_TYPE