fix: fixes error when no flutter binary was present and notifies user… #243
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Formatting | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths-ignore: | |
| - ".github/**" | |
| - "*.md" | |
| permissions: | |
| contents: write | |
| jobs: | |
| stylua: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: JohnnyMorganz/stylua-action@v2 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| args: --config-path=stylua.toml lua/ | |
| - uses: stefanzweifel/git-auto-commit-action@v4 | |
| with: | |
| commit_message: "chore: formatting" | |
| branch: ${{ github.head_ref }} | |
| - name: Push changes | |
| uses: ad-m/github-push-action@master | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| branch: ${{ github.ref }} |