feat: update all clients #2440
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: branch | |
| on: | |
| #we need to keep on push as target because of this issue https://github.com/orgs/community/discussions/65321 | |
| push: | |
| branches: | |
| - '**' | |
| - '!main' | |
| permissions: | |
| actions: read | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.head_ref }} | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - run: npm ci | |
| - uses: nrwl/nx-set-shas@v4 | |
| - run: | | |
| echo "BASE: ${{ env.NX_BASE }}" | |
| echo "HEAD: ${{ env.NX_HEAD }}" | |
| - name: Set up Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: '3.x' | |
| - name: install python tools | |
| run: | | |
| pip install poetry==1.8.5 | |
| - name: Set up specific jdk | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'corretto' | |
| java-version: 21 | |
| - name: Setup Flutter SDK | |
| uses: flutter-actions/setup-flutter@v4 | |
| with: | |
| channel: stable | |
| version: '3.27.0' | |
| cache: true | |
| cache-sdk: true | |
| - run: npx nx affected -t build --parallel=1 |