Skip to content

Attempt to fix GH actions permission #2

Attempt to fix GH actions permission

Attempt to fix GH actions permission #2

Workflow file for this run

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

Check failure on line 10 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: 10, Col: 17): Unexpected value '' .github/workflows/publish.yml (Line: 11, Col: 5): Unexpected value 'id-token'
id-token: write # This is required for requesting the JWT
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1