Comments (3)
I just published a new version 1.3.0 that includes a fix for this issue.
What happend was:
In the action i use @actions/tool-cache
to find the Ruby installation path and add it to the $PATH
. When asking the tool-cache for the installation path, i hardcoded the Ruby version 2.6.3
instead of specifying a version range like >=2.6
. There was obviously a change in the Ruby versions that are available by default on the Runners and version 2.6.3
is not available any more.
from fastlane-action.
I got exactly the same error. It did work a few weeks ago. Something must have changed, and my workflow did not.
default_platform(:android)
platform :android do
desc "Runs all the tests"
lane :test do
gradle(task: "test")
end
desc "Submit a new Beta Build to Crashlytics Beta"
lane :beta do
gradle(task: "clean assembleRelease")
crashlytics
# sh "your_script.sh"
# You can also use other beta testing services here
end
desc "Deploy a new version to the Google Play"
lane :deploybeta do
upload_to_play_store(aab: '../build/app/outputs/bundle/release/app-release.aab', track: 'beta', release_status: 'draft') # remove release status once we're live
end
end
from fastlane-action.
I have a same issue
/bin/sh: 1: gem: not found
I checked the error message and it's an error because Ruby is not installed.
so now i'm added setup ruby to workflow file
- uses: actions/setup-ruby@v1
after adding setup-ruby
the error was resolved.
this is my workflow file
name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout
- uses: actions/checkout@v1
# Use Ruby
- uses: actions/setup-ruby@v1
# Setup Java
- uses: actions/setup-java@v1
with:
java-version: '12.x'
# Setup Flutter
- uses: subosito/flutter-action@v1
with:
channel: 'beta'
# Build Flutter Application
- run: flutter pub get
- run: flutter build appbundle --release
# Upload Android AAB To Playstore Internal Track
- uses: maierj/[email protected]
env:
SUPPLY_JSON_KEY_DATA: ${{ secrets.FASTLANE_ANDROID_JSON_KEY_DATA }}
with:
lane: 'deploy_internal'
subdirectory: 'android'
from fastlane-action.
Related Issues (20)
- Bundler 2.4.3 is running, but your lockfile was generated with 2.2.20 HOT 1
- build fail after upgrade to v3 HOT 4
- command not found 'fastlane' HOT 3
- how to cache pods ? HOT 1
- fastalne instead of fastlane HOT 1
- [ios build] mac os based github action HOT 1
- unknown ISA `XCLocalSwiftPackageReference Error when Xcode 15
- Error: Unable to load contents of file list
- Node 16 is deprecated HOT 2
- bundler: failed to load command: fastlane HOT 1
- Gemfile not being used despite being available in project's root HOT 2
- How can i pass release notes in build deployment? HOT 1
- Multiple vulnerabilities HOT 1
- 500 Server Error HOT 4
- Bundler deployment mode HOT 1
- Build error with Please update using `bundle update fastlane` HOT 7
- bundler-cache is required? HOT 2
- passing github token with fastlane HOT 1
- Output values HOT 1
- Node 12 is deprecated HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane-action.