Skip to content

Commit f68a42d

Browse files
authored
Merge pull request #57 from mnishamk-freiheit/master
Add output usage for clearer documentation
2 parents 41bafb0 + 4e3f3a5 commit f68a42d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,15 @@ jobs:
3030
fetch-depth: 0 # fetch the whole repo history
3131

3232
- name: Git Version
33-
uses: codacy/[email protected]
33+
id: version
34+
uses: codacy/[email protected]
35+
36+
- name: Use the version
37+
run: |
38+
echo ${{ steps.version.outputs.version }}
39+
- name: Use the previous version
40+
run: |
41+
echo ${{ steps.version.outputs.previous-version }}
3442
```
3543
3644
### Mono-Repo

0 commit comments

Comments
 (0)