shrink/action

This commit is contained in:
Marc Beninca 2024-07-30 22:26:40 +02:00
parent f03b9e26fc
commit a4a394616c
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