Skip to content

feat:publish CI

feat:publish CI #4

Workflow file for this run

name: Publish to pub.dev
on:
push:
branches:
- main
pull_request:
branches: main
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
with:
# Specify the github actions deployment environment
environment: pub.dev
steps:

Check failure on line 19 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: 19, Col: 5): Unexpected value 'steps' .github/workflows/publish.yml (Line: 14, Col: 5): Required property is missing: uses
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Publish
run: dart pub publish --force