From 6819fd1a9e37a6e6791dfbca52a2e0408f4f1754 Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Thu, 1 Jun 2023 19:18:23 +0300 Subject: [PATCH] Properly reference inputs Signed-off-by: Gabriel Adrian Samfira --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9a23201197..53289a9fa2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -89,7 +89,7 @@ jobs: echo "arch=${arch}" >> $GITHUB_ENV IMAGE_FORMATS="qemu_uefi" - [ -z "${{ github.event.inputs.image_formats }}" ] || IMAGE_FORMATS="${{ github.event.inputs.image_formats }}" + [ -z "${{ inputs.image_formats }}" ] || IMAGE_FORMATS="${{ inputs.image_formats }}" echo "IMAGE_FORMATS=${IMAGE_FORMATS}" >> $GITHUB_ENV # Artifact root for images and torcx tarball as seen from within the container @@ -101,8 +101,8 @@ jobs: # this with its IP address. echo "TORCX_TESTS_PACKAGE_URL=http://localhost:12345" >> $GITHUB_ENV - if [ -n "${{ github.event.inputs.custom_sdk_version }}" ] ; then - echo "CUSTOM_SDK_VERSION=${{ github.event.inputs.custom_sdk_version }}" >> $GITHUB_ENV + if [ -n "${{ inputs.custom_sdk_version }}" ] ; then + echo "CUSTOM_SDK_VERSION=${{ inputs.custom_sdk_version }}" >> $GITHUB_ENV fi - name: Build packages