Catalog PyPI
PACKAGE EXPLORERView in registry

actions-python-core

PyPI

Actions core lib

actioncigithub
Versions collected1
Direct dependencies3From release 0.1.3
Last observed20 Oct, 18:34 UTC

README

Version 0.1.3 documentation

actions-python-core

Core functions for setting results, logging, registering secrets and exporting variables across actions

Usage

Import the package

from actions import core

Inputs/Outputs

Action inputs can be read with get_input which returns a str or get_boolean_input which parses a boolean based on the yaml 1.2 specification. If required set to be false, the input should have a default value in action.yml.

Outputs can be set with set_output which makes them available to be mapped into inputs of other actions to ensure they are decoupled.

my_input = core.get_input("input_name", required=True)
my_boolean_input = core.get_boolean_input("boolean_input_name", required=True)
my_multiline_input = core.get_multiline_input("multiline_input_name", required=True)

core.set_output("output_key", "output_value")

TBD

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.38 Oct 20233

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
actions-python/toolkit

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:34 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:150d39647e3af21102b0fc77565e565e8388f44bf0aa9aed47c96a8198a9198f