Skip to content

chore: Add script to update project (#69) #1

chore: Add script to update project (#69)

chore: Add script to update project (#69) #1

Workflow file for this run

# https://dart.dev/tools/pub/automated-publishing#configuring-automated-publishing-from-github-actions-on-pubdev
name: Publish to pub.dev
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: flutter pub get
- name: Bump version
run: |
flutter pub global activate cider
flutter pub global run cider version ${{ github.ref_name }}
- name: Publish
run: flutter pub publish --force