melos version #6
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: "melos version" | |
on: | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
melos_version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
cache: false | |
- name: show flutter version | |
run: flutter doctor -v | |
- name: Install melos | |
run: flutter pub global activate melos | |
- name: Install dependencies | |
run: melos bootstrap | |
- name: Setup git | |
run: | | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
- name: Version packages | |
run: melos version --yes | |
- name: resign the changes | |
run: git commit --amend --signoff -S | |
- name: Show git log | |
run: git log -1 |