Skip to content

ci: Update to use reusable flutter code quality action (#116) #77

ci: Update to use reusable flutter code quality action (#116)

ci: Update to use reusable flutter code quality action (#116) #77

Workflow file for this run

name: release-please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
code-quality:
uses: ./.github/workflows/code-quality.yml

Check failure on line 20 in .github/workflows/on-main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/on-main.yml

Invalid workflow file

error parsing called workflow ".github/workflows/on-main.yml" -> "./.github/workflows/code-quality.yml" (source branch with sha:b8b4827f1ecc250c403dd2a78594f7bbec06d733) : Invalid `steps` value - steps should be list of `uses` or `run` items
deploy-qa-demo:
name: Deploy preview version of the storybook on firebase
needs: code-quality
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
cache: true
- name: Setup flutter
run: flutter pub get
- name: Build example app
run: |
cd example
flutter build web -t widgetbook/main.dart -o ../build --no-tree-shake-icons
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZETA_DS }}"
channelId: "live"