We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a24f3e commit e1a1934Copy full SHA for e1a1934
action.yml
@@ -54,9 +54,12 @@ runs:
54
- name: Generate Height
55
id: height
56
shell: bash
57
+ env:
58
+ COUNT: ${{ steps.count.outputs.count }}
59
+ TAG: ${{ steps.tag.outputs.tag }}
60
run: |
- if (( ${{ steps.count.outputs.count }} > 0 )); then
- echo "height=$(git rev-list ${{ steps.version.outputs.tag }}.. --count)" >> $GITHUB_OUTPUT
61
+ if (( $COUNT > 0 )); then
62
+ echo "height=$(git rev-list $TAG.. --count)" >> $GITHUB_OUTPUT
63
else
64
echo "height=$(git rev-list --count HEAD)" >> $GITHUB_OUTPUT
65
fi
0 commit comments