Skip to content

Release (flutter)

Release (flutter) #393

name: Release (flutter)
on:
release:
types: [created]
tags:
- graphql_flutter-v*
push:
workflow_run:
workflows:
- "Build"
- "Test"
branches: [ main ]
types:
- completed
jobs:
publishing:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2 # required!
- name: 'publish graphql-flutter to to Pub.dev'
uses: k-paxian/dart-package-publisher@master
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: true
skipTests: true
dryRunOnly: ${{ github.event_name != 'release' }}
relativePath: './packages/graphql_flutter/'