Skip to content

Commit

Permalink
Merge pull request #1898 from leancodepl/ci/build_patrol_extension_on…
Browse files Browse the repository at this point in the history
…_pub_publish

build Patrol extension on `pub publish` workflow
  • Loading branch information
bartekpacia authored Nov 14, 2023
2 parents 1c6ec0b + f287455 commit 6802b06
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/patrol-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
id-token: write
contents: write

strategy:
matrix:
flutter-version: ['3.16.0-0.5.pre']
flutter-channel: ['beta']

steps:
- name: Clone repository
uses: actions/checkout@v4
Expand All @@ -31,7 +36,12 @@ jobs:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: ${{ matrix.flutter-version }}
channel: ${{ matrix.flutter-channel }}

- name: Build DevTools extension
working-directory: packages/patrol_devtools_extension
run: ./publish_to_patrol_extension

- name: Publish to pub.dev
id: pub_release
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/patrol_finders-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
id-token: write
contents: write

strategy:
matrix:
flutter-version: ['3.16.0-0.5.pre']
flutter-channel: ['beta']

steps:
- name: Clone repository
uses: actions/checkout@v4
Expand All @@ -31,7 +36,8 @@ jobs:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: ${{ matrix.flutter-version }}
channel: ${{ matrix.flutter-channel }}

- name: Publish to pub.dev
id: pub_release
Expand Down

0 comments on commit 6802b06

Please sign in to comment.