From 8a424b9d87ba3d2fc36ed494e735bc99b33256f0 Mon Sep 17 00:00:00 2001 From: ElementRobot Date: Wed, 10 May 2023 12:22:33 +0200 Subject: [PATCH] [Backport staging] Fix wrong version being passed to prepare job (#951) Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- .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 }}