Skip to content

Commit

Permalink
fix: workflows (#16)
Browse files Browse the repository at this point in the history
Co-authored-by: cristopher-ozone <[email protected]>
  • Loading branch information
crisperit and cristopher-ozone authored Jun 8, 2024
1 parent 1978acf commit b504ac2
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Flutter Pages Deployer

on:
workflow_dispatch:
push:
branches: [main]
# paths:
Expand Down Expand Up @@ -42,11 +43,14 @@ jobs:
- name: Validate
env:
LIBQUICKJSC_TEST_PATH: ${{ github.workspace }}/test/assets/libquickjs_c_bridge_plugin.so
uses: peiffer-innovations/actions-flutter-validate@v1
uses: peiffer-innovations/actions-flutter-validate@v2
with:
generate_code: true

- name: Web
uses: peiffer-innovations/actions-flutter-deploy-pages@v1
with:
build_flags: --no-tree-shake-icons
build_mode: release
build_number: ${{ needs.build_number.outputs.buildnumber }}
deploy_path: web
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
- name: Validate
env:
LIBQUICKJSC_TEST_PATH: ${{ github.workspace }}/test/assets/libquickjs_c_bridge_plugin.so
uses: peiffer-innovations/actions-flutter-validate@v1
uses: peiffer-innovations/actions-flutter-validate@v2
with:
generate_code: true

- name: Publish
uses: peiffer-innovations/[email protected]
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ jobs:
- uses: actions/checkout@v4

- name: Validate
uses: peiffer-innovations/actions-flutter-validate@v2
env:
LIBQUICKJSC_TEST_PATH: ${{ github.workspace }}/test/assets/libquickjs_c_bridge_plugin.so
uses: peiffer-innovations/actions-flutter-validate@v2
with:
generate_code: true
2 changes: 1 addition & 1 deletion .github/workflows/update_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
merge: true
paths: .,example
pull_request: true
token: ${{ secrets.REPO_TOKEN }}
token: ${{ secrets.REPO_TOKEN }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [2.0.1+12] - June 8, 2024

* Fixes for workflows

## [2.0.2+11] - April 30, 2024

* Automated dependency updates
Expand Down
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ void main() async {

class JsWidgetPage extends StatelessWidget {
const JsWidgetPage({
Key? key,
super.key,
required this.data,
}) : super(key: key);
});

final JsonWidgetData data;

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'json_dynamic_widget_plugin_js'
description: 'A plugin to the JSON Dynamic Widget to provide JS support to the widgets'
homepage: 'https://github.com/peiffer-innovations/json_dynamic_widget_plugin_js'
version: '2.0.2+11'
version: '2.0.2+12'

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down

0 comments on commit b504ac2

Please sign in to comment.