Skip to content

fix ci

fix ci #2

Workflow file for this run

name: Publish to pub.dev

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

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

Cannot define both `uses` and `steps` at the same time for the following jobs: publish
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: flutter pub get
- name: Publish
run: flutter pub publish --force
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1