Skip to content

remove imports (#39) #17

remove imports (#39)

remove imports (#39) #17

Workflow file for this run

# .github/workflows/publish.yml
name: Publish to pub.dev
on:
push:
tags:
# must align with the tag-pattern configured on pub.dev, often just replace
# with [0-9]+.[0-9]+.[0-9]+*
- "v[0-9]+.[0-9]+.[0-9]+*" # tag-pattern on pub.dev: 'v'
# If you prefer tags like '1.2.3', without the 'v' prefix, then use:
# - '[0-9]+.[0-9]+.[0-9]+*' # tag-pattern on pub.dev: ''
# If your repository contains multiple packages consider a pattern like:
# - 'my_package_name-v[0-9]+.[0-9]+.[0-9]+*'
# Publish using the reusable workflow from dart-lang.
jobs:
publish:

Check failure on line 17 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: 17, 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