I try to run such code via "github actions"
- name: Run tests
run: |
set -e
...
test -v A || export B=42
shell: bash
and got error at line test -v A || export B=42
:
test: -v: unary operator expected
I have no idea what is this about, if I run this command in my local bash all works as expected, what is wrong in my yaml code for "github actions"?