mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +02:00
Properly reference inputs
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
3a0a28e32a
commit
6819fd1a9e
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -89,7 +89,7 @@ jobs:
|
|||||||
echo "arch=${arch}" >> $GITHUB_ENV
|
echo "arch=${arch}" >> $GITHUB_ENV
|
||||||
|
|
||||||
IMAGE_FORMATS="qemu_uefi"
|
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
|
echo "IMAGE_FORMATS=${IMAGE_FORMATS}" >> $GITHUB_ENV
|
||||||
|
|
||||||
# Artifact root for images and torcx tarball as seen from within the container
|
# Artifact root for images and torcx tarball as seen from within the container
|
||||||
@ -101,8 +101,8 @@ jobs:
|
|||||||
# this with its IP address.
|
# this with its IP address.
|
||||||
echo "TORCX_TESTS_PACKAGE_URL=http://localhost:12345" >> $GITHUB_ENV
|
echo "TORCX_TESTS_PACKAGE_URL=http://localhost:12345" >> $GITHUB_ENV
|
||||||
|
|
||||||
if [ -n "${{ github.event.inputs.custom_sdk_version }}" ] ; then
|
if [ -n "${{ inputs.custom_sdk_version }}" ] ; then
|
||||||
echo "CUSTOM_SDK_VERSION=${{ github.event.inputs.custom_sdk_version }}" >> $GITHUB_ENV
|
echo "CUSTOM_SDK_VERSION=${{ inputs.custom_sdk_version }}" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user