]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Use github ref 2.
authorCharles <32498151+charlesomer@users.noreply.github.com>
Thu, 8 Jul 2021 18:11:42 +0000 (19:11 +0100)
committerCharles <32498151+charlesomer@users.noreply.github.com>
Thu, 8 Jul 2021 18:11:42 +0000 (19:11 +0100)
.github/workflows/docker-build.yaml

index d40636a0bf543a838121878628685f60c8e0d686..f6c2481eab9af14d7fd1e4137adb33dc242db7e7 100644 (file)
@@ -20,10 +20,10 @@ jobs:
       - name: Set SHAIRPORT_SYNC_BRANCH & NQPTP env.
         run: echo "SHAIRPORT_SYNC_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
 
-      - if: env.SHAIRPORT_SYNC_BRANCH == 'development'
+      - if: github.ref == 'development'
         run: echo "NQPTP_BRANCH=development"
       
-      - if: env.SHAIRPORT_SYNC_BRANCH != 'development'
+      - if: github.ref != 'development'
         run: echo "NQPTP_BRANCH=master"
 
       - name: Set up QEMU