Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Automate your Flutter project's build process with GitHub Actions workflow.

NotificationsYou must be signed in to change notification settings

ishitgami/flutter-github-action

Repository files navigation

Overview

This repository contains a GitHub Actions workflow for building and releasing a Flutter project. The workflow is triggered on every push to themain branch. It performs linting using ShellCheck and builds the Flutter project, creating an APK for release.

Workflow Structure

The workflow consists of two jobs:

  1. lint_shellcheck

    • Checks the shell scripts using the ShellCheck action.
  2. build

    • Sets up the Flutter environment.
    • Caches Flutter and Java dependencies for faster builds.
    • Builds the Flutter project and creates an APK for release.
    • Pushes the release artifacts using the ncipollo/release-action.

Usage

To use this workflow, follow these steps:

  1. Ensure your Flutter project is configured correctly.
  2. Add or modify the Flutter and Java dependencies in thecache section of the workflow.
  3. Set up the required GitHub Secrets, includingTOKEN_TEST for pushing releases.
  4. Push changes to themain branch.

Workflow Customization

You can customize this workflow based on your project requirements:

  • Adjust the Flutter version in theflutter-version field.
  • Modify the linting or build steps to fit your project structure.
  • Update the release tag format in thetag field of the "Push to Releases" step.

Dependencies

License

This workflow is licensed under theMIT License.

About

Automate your Flutter project's build process with GitHub Actions workflow.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp