Actions Toolkit for Java

The GitHub ToolKit for developing GitHub Actions in Java

Лицензия

Лицензия

MIT
Категории

Категории

Java Языки программирования
Группа

Группа

com.github.kjens93
Идентификатор

Идентификатор

actions-toolkit-java
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

Actions Toolkit for Java
The GitHub ToolKit for developing GitHub Actions in Java
Ссылка на сайт

Ссылка на сайт

https://github.com/Kjens93/actions-toolkit-java
Организация-разработчик

Организация-разработчик

com.github.Kjens93
Система контроля версий

Система контроля версий

https://github.com/Kjens93/actions-toolkit-java

Скачать actions-toolkit-java

Имя Файла Размер
actions-toolkit-java-1.0.0.pom 4 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.kjens93/actions-toolkit-java/ -->
<dependency>
    <groupId>com.github.kjens93</groupId>
    <artifactId>actions-toolkit-java</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.kjens93/actions-toolkit-java/
implementation 'com.github.kjens93:actions-toolkit-java:1.0.0'
// https://jarcasting.com/artifacts/com.github.kjens93/actions-toolkit-java/
implementation ("com.github.kjens93:actions-toolkit-java:1.0.0")
'com.github.kjens93:actions-toolkit-java:pom:1.0.0'
<dependency org="com.github.kjens93" name="actions-toolkit-java" rev="1.0.0">
  <artifact name="actions-toolkit-java" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.kjens93', module='actions-toolkit-java', version='1.0.0')
)
libraryDependencies += "com.github.kjens93" % "actions-toolkit-java" % "1.0.0"
[com.github.kjens93/actions-toolkit-java "1.0.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.projectlombok : lombok jar 1.18.12
org.apache.commons : commons-lang3 jar 3.9

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13
org.assertj : assertj-core jar 3.15.0
com.github.stefanbirkner : system-rules jar 1.19.0

Модули Проекта

  • actions-toolkit-core

Actions Toolkit

GitHub Actions status Maven Central

Actions Toolkit for Java

The GitHub Actions ToolKit for Java provides a set of packages to make creating actions easier. This software is not endorsed, distributed, or maintained by GitHub. This library is an unofficial Java port of GitHub Actions Toolkit, which was originally developed exclusively for JavaScript.

Getting Started

Java actions are not officially supported by GitHub. As such, you will need to use a Docker action to run your action code.

The toolkit is available from Maven Central.

Packages

✔️ actions-toolkit-core (Complete!)

Provides functions for inputs, outputs, results, logging, secrets and variables. Read more here

<dependency>
  <groupId>com.github.kjens93.actions.toolkit</groupId>
  <artifactId>actions-toolkit-core</artifactId>
  <version>${actions-toolkit.version}</version>
</dependency>

🏃 actions-toolkit-exec (not started)

Provides functions to exec cli tools and process output. Read more here


🍨 actions-toolkit-glob (not started)

Provides functions to search for files matching glob patterns. Read more here


✏️ actions-toolkit-io (not started)

Provides disk i/o functions like cp, mv, rmRF, find etc. Read more here


🔨 actions-toolkit-cache (not started)

Provides functions for downloading and caching tools. e.g. setup-* actions. Read more here


:octocat: actions-toolkit-github (not started)

Provides a GitHub client hydrated with the context that the current action is being run in. Read more here


💾 actions-toolkit-artifact (not started)

Provides functions to interact with actions artifacts. Read more here


Creating an Action with the Toolkit

Choosing an action type

Outlines the differences and why you would want to create a JavaScript or a container based action.

Versioning

Actions are downloaded and run from the GitHub graph of repos. This contains guidance for versioning actions and safe releases.

⚠️ Problem Matchers

Problem Matchers are a way to scan the output of actions for a specified regex pattern and surface that information prominently in the UI.

⚠️ Proxy Server Support

Self-hosted runners can be configured to run behind proxy servers.

Contributing

Contributions are welcome. See how to contribute.

com.github.kjens93

Kyler Jensen

Версии библиотеки

Версия
1.0.0