Skip to content

enhance: Add shift-snapping to rotation in examples. #59

enhance: Add shift-snapping to rotation in examples.

enhance: Add shift-snapping to rotation in examples. #59

Workflow file for this run

name: Build
on:
push:
paths:
- '**.dart'
- '**.yaml'
- '**.yml'
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Install dependencies
run: flutter pub get
- name: Build Example
working-directory: packages/flutter_box_transform/example
run: flutter build web --release
- name: Deploy example
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BOX_TRANSFORM_EXAMPLE }}'
channelId: live
projectId: box-transform-example
target: example
- name: Build Playground
working-directory: packages/flutter_box_transform/playground
run: flutter build web --release
- name: Deploy playground
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BOX_TRANSFORM_EXAMPLE }}'
channelId: live
projectId: box-transform-example
target: playground