dot/action.yaml

15 lines
355 B
YAML
Raw Normal View History

2024-07-30 20:07:56 +00:00
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