Skip to main content

openci_workflow 0.1.2 copy "openci_workflow: ^0.1.2" to clipboard
openci_workflow: ^0.1.2 copied to clipboard

Define and run OpenCI workflows in Dart with branch triggers, shell commands, Flutter helpers, and live log streaming.

example/openci_workflow_example.dart

import 'package:openci_workflow/openci_workflow.dart';

Future<void> main() async {
  final openCI = await OpenCI.init(
    workflowName: 'Static Analysis',
    ciTriggers: [
      CITrigger.push(branch: 'main'),
      CITrigger.pullRequest(branch: 'main'),
    ],
  );

  await openCI.run('dart analyze --fatal-infos');
}
0
likes
0
points
1.13k
downloads

Publisher

verified publisheropenci.org

Weekly Downloads

Define and run OpenCI workflows in Dart with branch triggers, shell commands, Flutter helpers, and live log streaming.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

freezed_annotation, http, meta

More

Packages that depend on openci_workflow