- name: Set SHAIRPORT_SYNC_BRANCH & NQPTP env.
run: echo "SHAIRPORT_SYNC_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
- - if: github.ref == 'development'
+ - if: env.SHAIRPORT_SYNC_BRANCH == 'development'
run: echo "NQPTP_BRANCH=development"
- - if: github.ref != 'development'
+ - if: env.SHAIRPORT_SYNC_BRANCH != 'development'
run: echo "NQPTP_BRANCH=master"
- name: Set up QEMU
- name: Set SHAIRPORT_SYNC_BRANCH & NQPTP env.
run: echo "SHAIRPORT_SYNC_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
- - if: github.ref == 'development'
+ - if: env.SHAIRPORT_SYNC_BRANCH == 'development'
run: echo "NQPTP_BRANCH=development"
- - if: github.ref != 'development'
+ - if: env.SHAIRPORT_SYNC_BRANCH != 'development'
run: echo "NQPTP_BRANCH=master"
- name: Set up QEMU