Skip to content

[adaptive_style] simplify example #73

[adaptive_style] simplify example

[adaptive_style] simplify example #73

Workflow file for this run

# name: 'pub-lish'
# on:
# push:
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+*'
# branches:
# - main
# jobs:
# pub-lish:
# name: 'publish to pub.dev'
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - name: 'checkout'
# uses: actions/checkout@v4
# - name: 'setup flutter'
# uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# - name: 'setup credentials'
# run: |
# mkdir $HOME/.pub-cache/ && \
# touch $HOME/.pub-cache/credentials.json && \
# cat <<EOF > $HOME/.pub-cache/credentials.json
# {
# "accessToken":"${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}",
# "refreshToken":"${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}",
# "tokenEndpoint":"https://accounts.google.com/o/oauth2/token",
# "scopes":["https://www.googleapis.com/auth/userinfo.email","openid"],
# "expiration":${{ secrets.PUB_DEV_PUBLISH_EXPIRATION }}
# }
# EOF
# - name: 'install melos'
# uses: bluefireteam/melos-action@v1
# - name: 'publishing'
# run: |
# yes | melos publish --no-dry-run --git-tag-version