Skip to content

refractor: extend try-catch range #13

refractor: extend try-catch range

refractor: extend try-catch range #13

Workflow file for this run

name: Publish to pub.dev
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
runs-on: ubuntu-latest
steps:
# Checkout repository
- uses: actions/checkout@v4
# Setup Dart SDK with JWT token
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
# Minimal package setup and dry run checks.
- name: Publish - dry run
run: dart pub publish --dry-run
# Publishing...
- name: Publish to pub.dev
run: dart pub publish -f
# with:
# working-directory: path/to/package/within/repository