gg_is_github 1.0.0 copy "gg_is_github: ^1.0.0" to clipboard
gg_is_github: ^1.0.0 copied to clipboard

Provides a method isGitHubAction which returns true if the currenct directory is running as part of a GitHub action.

example/gg_is_github_example.dart

#!/usr/bin/env dart
// @license
// Copyright (c) 2019 - 2024 Dr. Gabriel Gatzsche. All Rights Reserved.
//
// Use of this source code is governed by terms that can be
// found in the LICENSE file in the root of this package.

import 'package:gg_is_github/src/is_github.dart';

Future<void> main() async {
  print(isGitHub ? 'Running on GitHub' : 'Not running on GitHub');
}
1
likes
0
points
746
downloads

Publisher

verified publisherinlavigo.com

Weekly Downloads

Provides a method isGitHubAction which returns true if the currenct directory is running as part of a GitHub action.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, colorize, gg_args, gg_process, path

More

Packages that depend on gg_is_github