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

index 43bd79275f152737ad9827f4aa7c148f0751a305..6fe5c7e3ce86e639f2b408ee17e34fffb43eb2c9 100644 (file)
@@ -22,10 +22,10 @@ jobs:
       - 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
index f6c2481eab9af14d7fd1e4137adb33dc242db7e7..d40636a0bf543a838121878628685f60c8e0d686 100644 (file)
@@ -20,10 +20,10 @@ jobs:
       - 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