Created
May 27, 2022 06:59
-
-
Save twyle/086ff9ea9b9bc634be3109fa046701ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""This module contains the code that executes the github action.""" | |
import os | |
def main(): | |
"""Greet user using the supplied name.""" | |
my_input = os.getenv('INPUT_MYINPUT') or 'world' | |
my_output = f"Hello {my_input}" | |
print(f"::set-output name=MYOUTPUT::{my_output}") | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment