Skip to content

Publish to pub.dev

Publish to pub.dev #3

Workflow file for this run

name: Publish to pub.dev
on:
release:
types: [published]
jobs:
publish:
if: github.repository_owner == 'viamrobotics'
runs-on: [self-hosted, x64]
container:
image: ghcr.io/cirruslabs/flutter:3.10.6
name: "Publish to pub.dev"
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: flutter pub get
- name: Publish - dry run
run: flutter pub publish --dry-run
- name: Publish to pub.dev
run: flutter pub publish -f