Skip to content

chore: revert "chore(release): Publish packages (#1247)" (#1250) #12

chore: revert "chore(release): Publish packages (#1247)" (#1250)

chore: revert "chore(release): Publish packages (#1247)" (#1250) #12

Workflow file for this run

name: Create Release Tags
on:
push:
branches:
- main
permissions:
contents: write
actions: write
jobs:
create-tags:
if: ${{ contains(github.event.head_commit.message, 'chore(release):') }}
runs-on: ubuntu-latest
steps:
- name: Generate token
id: app-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Flutter
uses: subosito/flutter-action@v2
- name: Setup Melos
uses: bluefireteam/melos-action@v3
with:
tag: true
- run: |
melos exec -c 1 --no-published --no-private --order-dependents -- \
gh workflow run release-publish.yml \
--ref \$MELOS_PACKAGE_NAME-v\$MELOS_PACKAGE_VERSION
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}