alias call to args and make it optional

Signed-off-by: kpenfound <kyle@dagger.io>
This commit is contained in:
kpenfound 2024-11-10 22:08:23 -07:00
parent a320953b08
commit 367e5106ee
No known key found for this signature in database
GPG key ID: 70FD4F54AFB76D11
3 changed files with 26 additions and 4 deletions

View file

@ -93,3 +93,19 @@ jobs:
echo "does not match"
exit 1
fi
- name: "Test call"
id: test-call
uses: ./
with:
module: github.com/shykes/daggerverse/hello@v0.3.0
call: hello
- name: "Test call (check)"
run: |
target='${{ steps.test-call.outputs.output }}'
if [[ "$target" == "hello, world!" ]]; then
echo "matches"
exit 0
else
echo "does not match"
exit 1
fi