chore: Fix assertion script syntax
This commit is contained in:
parent
c5600cac26
commit
ca1196b371
@ -35,7 +35,11 @@ jobs:
|
||||
GIT_CREDENTIALS: djpbessems:${{ secrets.GIT_APIKEY }}
|
||||
- name: Assert semantic release output
|
||||
run: |
|
||||
[[ -z "${{ steps.sem_rel.outputs.version }}" ]] && (echo 'No release tag - exiting'; exit 1) || (echo 'Release tag is ${{ steps.sem_rel.outputs.version }}'; exit 0)
|
||||
[[ -z "${{ steps.sem_rel.outputs.version }}" ]] && {
|
||||
echo 'No release tag - exiting'; exit 1
|
||||
} || {
|
||||
echo 'Release tag set correctly: ${{ steps.sem_rel.outputs.version }}'; exit 0
|
||||
}
|
||||
|
||||
Container image:
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
|
Loading…
Reference in New Issue
Block a user