feat: localize component property panel labels and catalog strings #24
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: Deploy Flutter Web to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'example/lib/**' | |
| - 'example/web/**' | |
| - 'example/pubspec.yaml' | |
| - 'packages/**' | |
| - 'pubspec.yaml' | |
| - '.github/workflows/deploy_web.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| cache: true | |
| - name: 📦 Install Melos | |
| run: dart pub global activate melos | |
| - name: Get dependencies | |
| run: flutter pub get | |
| - name: Generate build_runner files | |
| run: melos run build_runner | |
| - name: Build web | |
| run: flutter build web --wasm --base-href /${{ github.event.repository.name }}/ | |
| working-directory: example | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v6 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: "./example/build/web" | |
| include-hidden-files: true | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 |