Skip to content

Commit 2466590

Browse files
committed
Update package name and publish ci
1 parent 5602214 commit 2466590

File tree

6 files changed

+26
-6
lines changed

6 files changed

+26
-6
lines changed

.github/workflows/publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish plugin
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v1
15+
- name: Publish
16+
uses: sakebook/[email protected]
17+
with:
18+
credential: ${{ secrets.CREDENTIAL_JSON }}
19+
flutter_package: false
20+
skip_test: true

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:flutter/material.dart';
2-
import 'package:popover/popover.dart';
2+
import 'package:popover_gtk/popover.dart';
33

44
void main() => runApp(PopoverExample());
55

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ packages:
8888
url: "https://pub.dartlang.org"
8989
source: hosted
9090
version: "1.8.0"
91-
popover:
91+
popover_gtk:
9292
dependency: "direct main"
9393
description:
9494
path: ".."

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
popover:
14+
popover_gtk:
1515
path: ../
1616

1717
dev_dependencies:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: popover
2-
description: A popover is a transient view that appears above other content onscreen when you tap a control or in an area.
1+
name: popover_gtk
2+
description: A popover made to be used with libadwaita library, Includes fade animation instead of scale.
33
version: 0.2.6+3
44
homepage: https://github.com/minikin/popover
55

test/popover_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'dart:ui' as ui;
22

33
import 'package:flutter/material.dart';
44
import 'package:flutter_test/flutter_test.dart';
5-
import 'package:popover/popover.dart';
5+
import 'package:popover_gtk/popover.dart';
66

77
void main() {
88
setUp(() {

0 commit comments

Comments
 (0)