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:
|
||||
num:
|
||||
description: 'Enter a number'
|
||||
required: true
|
||||
default: "1"
|
||||
runs:
|
||||
using: 'composite'
|
||||
using: composite
|
||||
steps:
|
||||
- name: Fetch the number's square
|
||||
id: get-square
|
||||
run: python3 -m get_num_square.py
|
||||
shell: bash
|
||||
- id: get-square
|
||||
run: python3 -m get_num_square
|
||||
|
|
Loading…
Reference in a new issue