Analyze and report 'pub downgrade' issues. (#1365) #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to pub.dev | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+*' | |
permissions: read-all | |
jobs: | |
publish: | |
permissions: | |
id-token: write # Required for authentication using OIDC | |
runs-on: ubuntu-latest | |
environment: pub-dev | |
steps: | |
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b | |
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 | |
- name: Install dependencies | |
run: dart pub get | |
- name: Analyze | |
run: dart analyze | |
- name: Publish | |
run: dart pub publish -f |