Skip to content

Commit 2e9296a

Browse files
committed
ci: add action outputs test
1 parent d3c391c commit 2e9296a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,17 @@ jobs:
6363
- run: npm run all
6464
- name: Run sbt-dependency-submission
6565
uses: ./
66+
id: dependency-submission
6667
with:
6768
working-directory: sbt-plugin
6869
sbt-plugin-version: 2.2.0-SNAPSHOT
70+
- name: Check outputs
71+
run: |
72+
echo ${{ steps.dependency-submission.outputs.submission-id }}
73+
echo ${{ steps.dependency-submission.outputs.submission-api-url }}
74+
echo ${{ steps.dependency-submission.outputs.snapshot-json-path }}
75+
- name: Log snapshot JSON
76+
run: |
77+
cat ${{ steps.dependency-submission.outputs.snapshot-json-path }} | jq
6978
7079

0 commit comments

Comments
 (0)