Skip to content

Merge pull request #98 from Prime-Holding/develop #8

Merge pull request #98 from Prime-Holding/develop

Merge pull request #98 from Prime-Holding/develop #8

name: 'Publish widget_toolkit_qr to pub.dev'
on:
push:
tags:
- 'widget_toolkit_qr-v[0-9]+.[0-9]+.[0-9]+*'
# Publish using custom workflow
jobs:
publish:
name: 'Publish widget_toolkit_qr to pub.dev'
environment: pub.dev
permissions:
id-token: write # This is required for authentication using OIDC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
with:
channel: "stable"
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
working-directory: packages/widget_toolkit_qr
run: dart pub get
- name: Dart format
working-directory: packages/widget_toolkit_qr
run: dart format .
- name: Publish
working-directory: packages/widget_toolkit_qr
run: dart pub publish --force