From 30d564eb4f528b6ba15fac892b148f0c9d1f7d17 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 30 Jul 2024 22:07:56 +0200 Subject: [PATCH] action --- action.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 action.yaml diff --git a/action.yaml b/action.yaml new file mode 100644 index 0000000..b7642a6 --- /dev/null +++ b/action.yaml @@ -0,0 +1,14 @@ +name: 'Custom Github Action' +description: 'A Github Action that takes an input and returns the square of the number' +inputs: + num: + description: 'Enter a number' + required: true + default: "1" +runs: + using: 'composite' + steps: + - name: Fetch the number's square + id: get-square + run: python3 -m get_num_square.py + shell: bash