From 356514f99c921bf25cde0425ff2f48f5cfe2ea97 Mon Sep 17 00:00:00 2001 From: PhlexPlexico Date: Thu, 15 Feb 2024 19:29:40 -0600 Subject: [PATCH] Adjust workflow to use proper variables. (#48) --- .github/workflows/create-build.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create-build.yml b/.github/workflows/create-build.yml index 4f37b0a..170d6cb 100644 --- a/.github/workflows/create-build.yml +++ b/.github/workflows/create-build.yml @@ -55,11 +55,17 @@ jobs: with: submodules: true - - name: Run Build Script + - if: ${{ github.event.inputs.build_type == 'Nightly' }} + name: Run Build Script Nightly + run: | + chmod +x linux_build_rando.sh + ./linux_build_rando.sh + + - if: ${{ github.event.inputs.build_type == 'Release' }} + name: Run Build Script Release + env: + url_tag: v${{ github.event.inputs.version }} run: | - if [[ ${{ github.event.inputs.build_type == 'Release' }} == true ]]; then - url_tag=v${{ github.event.inputs.version }} - fi chmod +x linux_build_rando.sh ./linux_build_rando.sh