This commit is contained in:
parent
f3462839b5
commit
72127a4e17
1 changed files with 3 additions and 9 deletions
12
action.yaml
12
action.yaml
|
@ -1,14 +1,8 @@
|
||||||
name: 'Custom Github Action'
|
|
||||||
description: 'A Github Action that takes an input and returns the square of the number'
|
|
||||||
inputs:
|
inputs:
|
||||||
num:
|
num:
|
||||||
description: 'Enter a number'
|
|
||||||
required: true
|
required: true
|
||||||
default: "1"
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch the number's square
|
- id: get-square
|
||||||
id: get-square
|
run: python3 -m get_num_square
|
||||||
run: python3 -m get_num_square.py
|
|
||||||
shell: bash
|
|
||||||
|
|
Loading…
Reference in a new issue