Skip to content

release: Bump version (#360) #160

release: Bump version (#360)

release: Bump version (#360) #160

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: stable
- name: Activate melos
run: |
dart pub get
dart pub global activate melos
- name: Login pub
run: |
mkdir -p "$XDG_CONFIG_HOME/dart/"
echo "${{ secrets.PUB_CREDENTIALS}}" | base64 -d > "$XDG_CONFIG_HOME/dart/pub-credentials.json"
- name: Validate publish
run: dart run melos publish --dry-run --yes
- name: Publish
run: dart run melos publish --no-dry-run --yes