This commit is contained in:
Marc Beninca 2024-07-30 22:07:56 +02:00
parent d7dc9cb284
commit 7dd24da740
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

14
action.yaml Normal file
View file

@ -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