Skip to content

Update pub version of flutter_webrtc #38

Update pub version of flutter_webrtc

Update pub version of flutter_webrtc #38

Workflow file for this run

name: Release
on:
pull_request:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'flutter-tizen' }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: subosito/flutter-action@v2
with:
channel: stable
- name: Dry run on pull request
if: ${{ github.event_name == 'pull_request' }}
run: |
./tools/tools_runner.sh publish \
--all-changed \
--pub-publish-flags=--dry-run \
--base-sha=HEAD~
- name: Wait on all tests
if: ${{ github.event_name == 'push' }}
uses: lewagon/wait-on-check-action@v1.1.1
with:
ref: ${{ github.sha }}
running-workflow-name: 'release'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 180 # seconds
allowed-conclusions: success
verbose: false
- name: Publish packages
if: ${{ github.event_name == 'push' }}
timeout-minutes: 5
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
run: |
./tools/tools_runner.sh publish \
--all-changed \
--base-sha=HEAD~ \
--skip-confirmation