Skip to content

Update version to 1.0.5 #8

Update version to 1.0.5

Update version to 1.0.5 #8

Workflow file for this run

name: Publish to pub.dev
on:
push:
tags:
- "refs\/tags\/[0-9]+.[0-9]+.[0-9]+*"

Check failure on line 6 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
# workflow_run:
# workflows: [Set package version]
# types:
# - completed
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for authentication using OIDC
# uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
# we'd prefer the reusable workflow, but
# but it is broken for flutter packages: https://github.com/dart-lang/setup-dart/issues/68
# uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225
- name: Install dependencies
run: dart pub get
- name: Publish - dry run
run: dart pub publish --dry-run
- name: Publish to pub.dev
run: dart pub publish -f