From c22a82501c37f31a1b566e5c259d644d250981e9 Mon Sep 17 00:00:00 2001 From: CleverNucleus Date: Tue, 28 Mar 2023 21:54:34 +0100 Subject: [PATCH] check #21 --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ad0942b..57672ca9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,5 +38,7 @@ jobs: name: Artifacts path: build/libs/ - name: deploy test - if: ${{ runner.os == 'Linux' && matrix.java == '17' && github.ref == format('refs/heads/{0}/main', env.BRANCH_PREFIX) }} - run: echo "THIS IS A TEST NOBODY PANIC. Also, variable is ${{ env.BRANCH_PREFIX }}" + if: ${{ runner.os == 'Linux' && matrix.java == '17' && format('refs/heads/{0}/main', env.BRANCH_PREFIX) == github.ref }} + run: echo "THIS IS A TEST NOBODY PANIC. Also, variable is ${{ format('refs/heads/{0}/main', env.BRANCH_PREFIX) }}" + - name: variable check + run: echo "THIS IS A TEST NOBODY PANIC. Also, variable is ${{ format('refs/heads/{0}/main', env.BRANCH_PREFIX) }}"