flutter-action | Flutter environment for use in GitHub Actions | Continous Integration library

 by   subosito Shell Version: v2.10.0 License: MIT

kandi X-RAY | flutter-action Summary

kandi X-RAY | flutter-action Summary

flutter-action is a Shell library typically used in Devops, Continous Integration, Visual Studio Code applications. flutter-action has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              flutter-action has a medium active ecosystem.
              It has 1781 star(s) with 146 fork(s). There are 15 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 7 open issues and 150 have been closed. On average issues are closed in 53 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of flutter-action is v2.10.0

            kandi-Quality Quality

              flutter-action has no bugs reported.

            kandi-Security Security

              flutter-action has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              flutter-action is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              flutter-action releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of flutter-action
            Get all kandi verified functions for this library.

            flutter-action Key Features

            No Key Features are available at this moment for flutter-action.

            flutter-action Examples and Code Snippets

            No Code Snippets are available at this moment for flutter-action.

            Community Discussions

            QUESTION

            GitHub Actions flutter-action job fails when I use a private container
            Asked 2021-May-22 at 23:55
            Container registry setup

            I use the following Dockerfile to create an image that I then push to google cloud container registry as a private image. I want to run my CD workflow in my workflow so that I can fetch deployment credentials that I store within my image.

            Side Note: Not sure if this is the safest method to be managing sensitive files such as .jks files I need to deploy my app to play store. I'd appreciate it if anyone could shed some light on this as well (Not sure if I should move this side note to a different SO question).

            ...

            ANSWER

            Answered 2021-May-22 at 23:55

            I found the solution to the problem.

            I was just missing xz-utils on my container so I updated my docker image to install it

            Referenced from the related github issue here

            Source https://stackoverflow.com/questions/67654563

            QUESTION

            PhaseScriptExecution Run\ Script /Users/runner/Library/Developer/Xcode/DerivedData/Runner when build flutter ios app
            Asked 2021-May-21 at 13:34

            When I compile my project in Github Actions(bundle exec fastlane beta),shows this error:

            ...

            ANSWER

            Answered 2021-Mar-15 at 01:44

            It maybe the null-safety of Flutter 2.0.1 cause build release failed(I found other error may cause this error, but the build error tips has no relation with the real error). I fix it by prebuild project add this line in workflow ci file:

            Source https://stackoverflow.com/questions/66547742

            QUESTION

            How to include git ignored file in github actions with flutter?
            Asked 2021-Feb-11 at 22:01

            In my project I have some JSON files that are used to get environment configurations at runtime through an entrypoint to the main dart file, they hold sensitive data so I put their containing folder in the .gitignore file.

            I have written a test that passes when I run it locally, but fails when triggered by the github action because of this error:

            ...

            ANSWER

            Answered 2021-Feb-11 at 00:42

            You can use GitHub Action secrets.

            Put your dev.json contents in a secret (for example, DEV_JSON_CONTENTS), and write it to the correct location with a command.

            Source https://stackoverflow.com/questions/66146725

            QUESTION

            GitHub Pages redirects to a different site
            Asked 2021-Jan-30 at 18:51

            So I'm trying to deploy my flutter web app using GitHub pages, but I'm facing a weird issue. So I have my portfolio on imgkl.github.io and I'm trying to deploy another app called fl_catalogue which has the URL, imgkl.github.io/fl_catalogue/. But when I try to go to the fl_catalogue app, it takes me to my portfolio.

            I'm deploying the site, using this workflow.

            ...

            ANSWER

            Answered 2021-Jan-30 at 18:51

            You probably did not change the base path in web/index.html

            Source https://stackoverflow.com/questions/65958501

            QUESTION

            Flutter analyze / build fails in GitHub action
            Asked 2021-Jan-25 at 08:59

            When the following action is run, it fails on flutter analyze. If I remove it, it fails later on flutter build. Both commands work fine locally. I understand the message, but fail to grasp what might be wrong with the package path.

            GitHub action error:

            ...

            ANSWER

            Answered 2021-Jan-25 at 08:59

            The issue was in a upper case / lower case file name typo. OSX filesystem is by default case insensitive, while Ubuntu, on which the GitHub Action runs, is not.

            Source https://stackoverflow.com/questions/65827050

            QUESTION

            The following build commands failed: PhaseScriptExecution Run Script in fastlane
            Asked 2021-Jan-23 at 11:18

            when I build the ios project using this command in Flutter in github actions(by the way, using the same command in my local macOS catalina 10.15.7 and xcode 12.3 works fine):

            ...

            ANSWER

            Answered 2021-Jan-23 at 11:18

            Your build log shows the following error:

            Source https://stackoverflow.com/questions/65839800

            QUESTION

            Building flutter app remotely through Github Actions Continuous Integration platform cannot find GoogleService-Info.plist file
            Asked 2021-Jan-04 at 05:49

            If I build my app in release mode locally it works, but when I try to do it remotely with continuous integration on Github Actions, I get the error:

            error: Build input file cannot be found: '/Users/runner/work/Downloads/GoogleService-Info.plist' (in target 'Runner' from project 'Runner')

            Locally the file is in path /Users/benjamin/Downloads/GoogleService-Info.plist. Is the path /Users/runner/work/Downloads/GoogleService-Info.plist potentially incorrect? Any idea how to find out what it should be and how to set it to that? Since it seems kind of like it is trying to store it in the same folder structure but not on my computer. Can I just upload the file to the continuous integration server on Github Actions?

            It is run on Github Actions with this workflow file:

            flutter-ci.yml:

            ...

            ANSWER

            Answered 2021-Jan-04 at 05:49

            As the error suggests, the Google-Info.plist is not available in the provided path. This happens since your username is not the same as the username used by Github actions and also, you have not loaded it to the Downloads directory. I would suggest checking it into your version control and place it inside the ios directory. Remember to update your references

            You could store it somewhere and download it to your Github Actions instance. But loading it directly with the rest of your files is much easier and convenient

            Warning!

            Google-Info.plist can be checked into source control. But others can misuse it if your services are not well protected by security rules. For open source projects, it is suggested to guide others to setup their own Firebase project. If you are using a private repository then this does not apply. Learn more here

            Source https://stackoverflow.com/questions/65557650

            QUESTION

            Flutter codebase to APK build in GitHub Actions returns 'undefined: No tag found in ref or input!'
            Asked 2020-Dec-25 at 20:29

            I'm using the following Actions YAML to try to build an Android APK from a Flutter app:

            ...

            ANSWER

            Answered 2020-Dec-25 at 20:29

            As per the notes you either need to specify an existing tag or specify a branch or commit for the commit input of the action, based on which a tag will be created:

            • You must provide a tag either via the action input or the git ref (i.e push / create a tag). If you do not the action will fail.
            • If the tag of the release you are creating does not exist yet, you should set both the tag and commit action inputs. commit can point to a commit hash or a branch name (ex - main).

            from https://github.com/ncipollo/release-action#notes

            Using the following will give you a new version tag with every run, where the last place of the version is incremented for every run.

            Source https://stackoverflow.com/questions/64186518

            QUESTION

            Github Actions Flutter CI Error: No version of NDK matched
            Asked 2020-May-04 at 22:53

            Project Repository

            I've been push the commit

            but, I got error

            ...

            ANSWER

            Answered 2020-May-04 at 22:53

            Instead of using the local.properties file, set ndkVersion in your build.gradle to match the one available on your CI server. i.e.

            Source https://stackoverflow.com/questions/61146248

            QUESTION

            How can I generate an Android debug keystore file through github-actions?
            Asked 2020-Apr-04 at 19:07

            I am trying to generate a android debug keystore file through github actions workflow, and it generates successfully too, but an error generates after the first keytool command.

            The workflow YAML -

            ...

            ANSWER

            Answered 2020-Apr-04 at 18:56

            I found the problem. The workflow was failing because the keytool was trying to create debug.keystore file in C:\Users\runneradmin\.android but the folder was not created at the time of execution.

            Updated YAML -

            Source https://stackoverflow.com/questions/60929363

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install flutter-action

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/subosito/flutter-action.git

          • CLI

            gh repo clone subosito/flutter-action

          • sshUrl

            git@github.com:subosito/flutter-action.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Continous Integration Libraries

            chinese-poetry

            by chinese-poetry

            act

            by nektos

            volkswagen

            by auchenberg

            phpdotenv

            by vlucas

            watchman

            by facebook

            Try Top Libraries by subosito

            gingerice

            by subositoRuby

            iglo

            by subositoGo

            gotenv

            by subositoGo

            shorturl

            by subositoGo

            twilio

            by subositoGo