mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-07 22:50:00 +11:00
alias call to args and make it optional
Signed-off-by: kpenfound <kyle@dagger.io>
This commit is contained in:
parent
a320953b08
commit
367e5106ee
3 changed files with 26 additions and 4 deletions
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue