Skip to content

chore(release): publish packages #3

chore(release): publish packages

chore(release): publish packages #3

Workflow file for this run

name: Publish optimus to pub.dev
on:
push:
tags:
- "optimus-v[0-9]+.[0-9]+.[0-9]+*"
jobs:
publish:
name: Publish to pub.dev
runs-on: ubuntu-latest
environment: pub.dev
permissions:
id-token: write
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.22.2
- name: Install dependencies
run: flutter pub get
- name: Publish Dry Run
run: flutter pub publish --directory=optimus --dry-run
- name: Publish to pub.dev
run: flutter pub publish --directory=optimus --force