We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 836f551 commit be8836cCopy full SHA for be8836c
.github/actions/version/action.yml
@@ -1,5 +1,5 @@
1
name: version
2
-description: extract the version
+description: extract the version info
3
inputs:
4
version-file:
5
description: 'the version file'
@@ -36,7 +36,7 @@ runs:
36
brew install dasel
37
cat $GITHUB_ENV
38
39
- - name: extract version
+ - name: extract version info
40
id: extract-version
41
shell: bash
42
run: |
@@ -50,10 +50,10 @@ runs:
50
51
user="${{ github.actor == 'hauner' && github.actor != 'dependabot[bot]' }}"
52
53
- if [ "$user" = true -a "$snapshot" = true ]; then
54
- publish=true
+ if [[ "$user" == true && "$snapshot" == true ]]; then
+ publish="true"
55
else
56
- publish=false
+ publish="false"
57
fi
58
59
echo "version=$version" >> "$GITHUB_OUTPUT"
0 commit comments