ci(release): simplify github release pipeline #101
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
# Workflow evaluates the score on pub.dev. | |
# Runs on each push to main. | |
name: pubdev_score | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
scoring: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate Token | |
id: app-token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ vars.APPBAKERYGITHUBAPP_APPID }} | |
private-key: ${{ secrets.APPBAKERYGITHUBAPP_PRIVATEKEY }} | |
- name: Clone repository. | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
token: ${{ steps.app-token.outputs.token }} | |
- name: Evaluate Score | |
uses: axel-op/dart-package-analyzer@v3 | |
with: | |
githubToken: ${{ steps.app-token.outputs.token }} |