Skip to content

Commit

Permalink
Fastlane setup moved back into shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
salemlf committed Jan 29, 2024
1 parent f90e16b commit 5d5eaca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -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)
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions begin-action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d5eaca

Please sign in to comment.