dot/action.yaml
2024-10-13 23:41:46 +02:00

14 lines
355 B
YAML

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