action
This commit is contained in:
parent
d7dc9cb284
commit
7dd24da740
1 changed files with 14 additions and 0 deletions
14
action.yaml
Normal file
14
action.yaml
Normal 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
|
Loading…
Reference in a new issue