Skip to content

Add GitHub actions for automatic publishing changes to pub.dev #1

Add GitHub actions for automatic publishing changes to pub.dev

Add GitHub actions for automatic publishing changes to pub.dev #1

Workflow file for this run

name: ci
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- 'main'
paths-ignore:
- '**.md'
- 'docs/**'
permissions: write-all
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
ci:
if: |
github.repository_owner == 'eaceto' &&
github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
# Checks out a copy of the repo.
- name: Check out code
uses: actions/checkout@v4
# Run tests and a dry-run
- name: run tests
uses: sakebook/actions-flutter-pub-publisher@v1.4.1
with:
credential: ${{ secrets.PUB_TOKEN }}
flutter_package: false
skip_test: false
dry_run: true