Define output for update_sdk

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
Gabriel Adrian Samfira 2023-06-01 17:40:31 +03:00
parent 66bfe6a6e5
commit 91b96b21b3
No known key found for this signature in database
GPG Key ID: 7D073DCC2C074CB5
2 changed files with 5 additions and 1 deletions

View File

@ -41,7 +41,7 @@ jobs:
needs: [ update_sdk ]
# The update-sdk job may be skipped, which is fine. We only care if it tried to
# run, but failed.
if: (always() && ! cancelled()) && needs.update_sdk.result != 'failure'
if: (always() && !cancelled()) && needs.update_sdk.result != 'failure'
name: "Build the OS image"
uses: ./.github/workflows/ci.yaml
with:

View File

@ -14,6 +14,10 @@ on:
Custom SDK container version to build. Defaults to source SDK w/ "-github-[DATE]" appended.
workflow_call:
outputs:
sdk_version:
description: "The version of the SDK container that was built"
value: ${{ jobs.update_sdk.outputs.sdk_version }}
inputs:
source_sdk_version:
type: string