From 285721d3cd2dc34b24ee80b2ca548fbcb9f0e5b6 Mon Sep 17 00:00:00 2001 From: Lukas Masuch Date: Tue, 15 Dec 2020 19:05:55 +0100 Subject: [PATCH] Fix problem with auto update --- .github/workflows/update-best-of-list.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-best-of-list.yml b/.github/workflows/update-best-of-list.yml index 989f7044..656b879e 100644 --- a/.github/workflows/update-best-of-list.yml +++ b/.github/workflows/update-best-of-list.yml @@ -20,7 +20,7 @@ jobs: - if: ${{ github.event.inputs != null && github.event.inputs.version != null }} name: set-version-from-input run: echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV - - if: ${{ env.VERSION != null && env.VERSION != '' }} + - if: ${{ ! (env.VERSION != null && env.VERSION != '') }} name: set-version-via-date run: echo "VERSION=$(date '+%Y.%m.%d')" >> $GITHUB_ENV - name: create-update-branch