Skip to content

Commit be8836c

Browse files
committed
ci: clean up
1 parent 836f551 commit be8836c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/actions/version/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: version
2-
description: extract the version
2+
description: extract the version info
33
inputs:
44
version-file:
55
description: 'the version file'
@@ -36,7 +36,7 @@ runs:
3636
brew install dasel
3737
cat $GITHUB_ENV
3838
39-
- name: extract version
39+
- name: extract version info
4040
id: extract-version
4141
shell: bash
4242
run: |
@@ -50,10 +50,10 @@ runs:
5050
5151
user="${{ github.actor == 'hauner' && github.actor != 'dependabot[bot]' }}"
5252
53-
if [ "$user" = true -a "$snapshot" = true ]; then
54-
publish=true
53+
if [[ "$user" == true && "$snapshot" == true ]]; then
54+
publish="true"
5555
else
56-
publish=false
56+
publish="false"
5757
fi
5858
5959
echo "version=$version" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)