Skip to content

CI: add flutter-setup action (#428) #5

CI: add flutter-setup action (#428)

CI: add flutter-setup action (#428) #5

Workflow file for this run

name: Tag release
on:
push:
branches: [main]
jobs:
publish-packages:
name: Create tags for release
permissions:
actions: write
contents: write
runs-on: [ubuntu-latest]
if: contains(github.event.head_commit.message, 'chore(release)')
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Flutter setup
uses: ./.github/actions/flutter-setup
- uses: bluefireteam/melos-action@v3
with:
tag: true
- run: |
melos exec -c1 --no-published --no-private --order-dependents -- \
gh workflow run release-publish.yaml \
--ref \$MELOS_PACKAGE_NAME-v\$MELOS_PACKAGE_VERSION
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}