Skip to content

Commit

Permalink
Use flutter publish
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisAlund committed Mar 21, 2024
1 parent cb43b7f commit f542089
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Publish package to pub.dev
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
- "v[0-9]+.[0-9]+.[0-9]+*"

jobs:
build_example:
name: Build Example App
name: Build Example App
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
Expand All @@ -29,7 +29,7 @@ jobs:
# TODO(Dennis): iOS builds aren't properly configured yet. Fix and
# uncomment this exclusion
# https://github.com/oddbit/flutter_facebook_app_events/actions/runs/3365684172/jobs/5581387481
- platform: ios
- platform: ios

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -84,10 +84,9 @@ jobs:
id-token: write
needs: build_example
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- uses: dart-lang/setup-dart@v1

- uses: dart-lang/setup-dart@v1

- name: Publish package
run: dart pub publish --force

- name: Publish package
run: flutter pub publish --force

0 comments on commit f542089

Please sign in to comment.