shrink/action
All checks were successful
/ job (push) Successful in 3m37s

This commit is contained in:
Marc Beninca 2024-07-30 22:26:40 +02:00
parent f3462839b5
commit 72127a4e17
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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