chore: release 1.26.0 #26
Workflow file for this run
This file contains 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: Publish | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+*' | |
jobs: | |
check: | |
name: Run checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/setup-dart@v1 | |
- name: Install Tools | |
run: dart pub global activate melos | |
- name: Bootstrap Workspace | |
run: melos bootstrap | |
- name: Install dependencies | |
run: melos get | |
- name: Check versions | |
run: melos test | |
publish_core: | |
needs: check | |
permissions: | |
id-token: write | |
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 | |
with: | |
working-directory: packages/client_core | |
publish_clients: | |
needs: | |
- check | |
- publish_core | |
strategy: | |
matrix: | |
package: | |
- packages/client_search | |
- packages/client_insights | |
- packages/client_recommend | |
permissions: | |
id-token: write | |
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 | |
with: | |
working-directory: ${{ matrix.package }} | |
publish_algoliasearch: | |
needs: | |
- check | |
- publish_core | |
- publish_clients | |
permissions: | |
id-token: write | |
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 | |
with: | |
working-directory: packages/algoliasearch |