Compare commits

...

12 commits
main ... dev

Author SHA1 Message Date
5d722f98be
action
All checks were successful
/ job (push) Successful in 1m10s
2024-10-14 13:47:01 +02:00
79a02a08f1
multiply
Some checks failed
/ job (push) Failing after 1m12s
2024-10-14 13:40:03 +02:00
315aee2f21
spcd/sync
All checks were successful
/ job (push) Successful in 1m10s
2024-10-13 23:41:48 +02:00
cbfd53922f
−id 2024-10-13 23:41:47 +02:00
15bec101c6
↓ id 2024-10-13 23:41:47 +02:00
dc4e6fbb36
indent 2024-10-13 23:41:47 +02:00
6882d1cc9b
actions 2024-10-13 23:41:47 +02:00
a4a394616c
shrink/action 2024-10-13 23:41:46 +02:00
f03b9e26fc
indent 2024-10-13 23:41:46 +02:00
968ce11438
python 2024-10-13 23:41:46 +02:00
7dd24da740
action 2024-10-13 23:41:46 +02:00
d7dc9cb284
workflow 2024-10-13 23:41:45 +02:00
3 changed files with 21 additions and 0 deletions

View file

@ -14,3 +14,7 @@ jobs:
- run: spcd-build-project - run: spcd-build-project
- run: spcd-browse-workspace - run: spcd-browse-workspace
- run: spcd-synchronize - run: spcd-synchronize
- uses: ./spcd/synchronize
with:
firstarg: 2
secondarg: 4

8
multiply.py Normal file
View file

@ -0,0 +1,8 @@
import os
try:
num1 = int(os.environ.get("INPUT_FIRSTARG"))
num2 = int(os.environ.get("INPUT_SECONDARG"))
except Exception:
exit(f"integer error for {num1} or {num2}")
print(num1 * num2)

View file

@ -0,0 +1,9 @@
inputs:
firstarg:
required: true
secondarg:
required: true
runs:
using: composite
steps:
- run: python3 -m multiply