Skip to content

Commit

Permalink
Manual relese process
Browse files Browse the repository at this point in the history
  • Loading branch information
njooma committed Aug 4, 2023
1 parent 97f0983 commit 48bb0c7
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
name: Publish to pub.dev

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
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"
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
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

0 comments on commit 48bb0c7

Please sign in to comment.