Skip to content

chore: bump flutter version on ci #13

chore: bump flutter version on ci

chore: bump flutter version on ci #13

Workflow file for this run

name: Publish package to pub.dev
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v1
- name: Setup credentials
run: |
mkdir -p ~/.pub-cache
cat <<EOF > ~/.pub-cache/credentials.json
{
"accessToken":"${{ secrets.OAUTH_ACCESS_TOKEN }}",
"refreshToken":"${{ secrets.OAUTH_REFRESH_TOKEN }}",
"tokenEndpoint":"https://accounts.google.com/o/oauth2/token",
"scopes": [ "openid", "https://www.googleapis.com/auth/userinfo.email" ],
"expiration": ${{ secrets.EXPIRATION }}
}
EOF
- name: Check Publish Warnings
run: pub publish --dry-run
- name: Publish package
run: pub publish -f