Skip to content

Fix Type.toString issue #5

Fix Type.toString issue

Fix Type.toString issue #5

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths-ignore:
- "**.md"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Install Flutter and Dart SDK
uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
- name: Show Dart SDK version
run: dart --version
- name: Show Flutter SDK version
run: flutter --version
- name: Install Dependencies
run: flutter pub get
- name: Show outdated packages
run: flutter pub outdated
- name: Build web
run: flutter build web --base-href /dart-ast-node-viewer/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web