Skip to content

require dart 3.0; update to the latest package:lints (#399) #143

require dart 3.0; update to the latest package:lints (#399)

require dart 3.0; update to the latest package:lints (#399) #143

Workflow file for this run

name: Publish Demos
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
container:
image: dart
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Install and Build 🔧
run: |
dart pub global activate webdev
dart pub get
dart pub global run webdev build -o build -- --delete-conflicting-outputs
rm build/example/packages
- name: Publish 🚀
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages # The branch the action should deploy to.
folder: build/example # The folder the action should deploy.