Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

75 Commits

Repository files navigation

python-action

Write GitHub Actions workflows using Python by running python scripts. The tool uses Microsoft Windows Server.

Only supports Python 3. Python 2 is deprecated.

Usage

To use the workflow, there must be a workflow.py in the branch where you are trying to publish your action to Marketplace at. I reccommemd that your action runs on Windows-latest to ensure you are always running the latest version of Windows Server.

Example

action.y(a)ml

name: Python Hello Worldjobs:
python3runner:
runs-on: windows-lateststeps:
- uses: Tyler887/python-action@mainwith:
path: .\ # Rest of the path to the folderenv:
OWNER: # Owner of the repository defined in REPOREPO: # Name of the repo (without "OWNER/")

workflow.py

print("Hello World")

About

Write GitHub Actions workflows using Python

Topics

Resources

Code of conduct

Stars

2 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages