From 19f15c5baf9085a71e96df0e62bab620e163fea6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 9 May 2023 22:23:38 +0100 Subject: [PATCH] Fix wrong version being passed to prepare job (#950) --- .github/workflows/build_and_deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yaml b/.github/workflows/build_and_deploy.yaml index e6e3f9d..30d0d6c 100644 --- a/.github/workflows/build_and_deploy.yaml +++ b/.github/workflows/build_and_deploy.yaml @@ -47,7 +47,7 @@ jobs: uses: ./.github/workflows/build_prepare.yaml with: config: element.io/${{ inputs.mode || 'nightly' }} - version: ${{ inputs.mode == 'release' && '' || 'develop' }} + version: ${{ inputs.mode != 'release' && 'develop' || '' }} nightly: ${{ inputs.mode != 'release' }} secrets: CF_R2_ACCESS_KEY_ID: ${{ secrets.CF_R2_ACCESS_KEY_ID }}