Skip to content

Create publish.yml

Create publish.yml #2

Workflow file for this run

name: Publish to pub.dev
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:

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

View workflow run for this annotation

GitHub Actions / Publish to pub.dev

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 9, Col: 3): Error calling workflow 'dart-lang/setup-dart/.github/workflows/publish.yml@v1'. The nested job 'publish' is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
# with:
# working-directory: path/to/package/within/repository