Skip to content

📦️ upgrade: v0.4.2 #22

📦️ upgrade: v0.4.2

📦️ upgrade: v0.4.2 #22

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
contents: write
actions: write
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@8a4b97ea2017cc079571daec46542f76189836b1
- name: Install dependencies
run: dart pub get
- name: Publish to pub.dev
run: dart pub publish -f
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}