Skip to content

Commit 0297f38

Browse files
committed
broke into 2 lines
1 parent 891d6b5 commit 0297f38

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-linux.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
steps:
2626
- name: set version by tag name (as alternative to above)
2727
run: |
28-
echo 'VERSION=' ( ( ${{ startsWith(github.ref, 'refs/tags') }} && $GITHUB_REF_NAME ) || \
29-
( ${{ startsWith(github.ref_name, 'v1.3.0') }} && $GITHUB_REF_NAME ) || \
30-
( 'v1.3.0-' ${GITHUB_SHA:0:8} ) ) >> $GITHUB_ENV
28+
echo 'VERSION=' >> $GITHUB_ENV
29+
( ( ${{ startsWith(github.ref, 'refs/tags') }} && echo $GITHUB_REF_NAME ) || \
30+
( ${{ startsWith(github.ref_name, 'v1.3.0') }} && echo $GITHUB_REF_NAME ) || \
31+
( echo 'v1.3.0-' ${GITHUB_SHA:0:8} ) ) >> $GITHUB_ENV
3132
# if: ${{ ... }}
3233
- name: dependencies
3334
run: |

0 commit comments

Comments
 (0)