Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Merge pull request #405 from DolbyIO/release/3.10.0-beta.1 #22

Merge pull request #405 from DolbyIO/release/3.10.0-beta.1

Merge pull request #405 from DolbyIO/release/3.10.0-beta.1 #22

Workflow file for this run

name: Publish comms-sdk-flutter package to pub.dev
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- 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": 1664284827771
}
EOF
- name: Publish package
run: pub publish -f