From 065fb9fee754642ba302d3ad01c4a9ea34b2f1e3 Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Mon, 25 Sep 2023 13:23:43 +0300 Subject: [PATCH] Fix if conditions in server and updater workflows --- .github/workflows/server.yml | 2 +- .github/workflows/updater.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 81cfebfe..524fe93f 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -102,7 +102,7 @@ jobs: docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_SHORTSHA" - name: Push image (NuGetVersionV2) - if: "!startsWith(github.ref, 'refs/pull')" + if: ${{ !startsWith(github.ref, 'refs/pull') }} run: docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_NUGETVERSIONV2" - name: Push image (major, minor) diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index 48c939fe..9b47dbc5 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -112,7 +112,7 @@ jobs: docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_SHORTSHA" - name: Push image (NuGetVersionV2) - if: "!startsWith(github.ref, 'refs/pull')" + if: ${{ !startsWith(github.ref, 'refs/pull') }} run: docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_NUGETVERSIONV2" - name: Push image (major, minor)