mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-15 07:31:36 +01:00
Define output for update_sdk
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
66bfe6a6e5
commit
91b96b21b3
2
.github/workflows/pr-workflows.yaml
vendored
2
.github/workflows/pr-workflows.yaml
vendored
@ -41,7 +41,7 @@ jobs:
|
|||||||
needs: [ update_sdk ]
|
needs: [ update_sdk ]
|
||||||
# The update-sdk job may be skipped, which is fine. We only care if it tried to
|
# The update-sdk job may be skipped, which is fine. We only care if it tried to
|
||||||
# run, but failed.
|
# run, but failed.
|
||||||
if: (always() && ! cancelled()) && needs.update_sdk.result != 'failure'
|
if: (always() && !cancelled()) && needs.update_sdk.result != 'failure'
|
||||||
name: "Build the OS image"
|
name: "Build the OS image"
|
||||||
uses: ./.github/workflows/ci.yaml
|
uses: ./.github/workflows/ci.yaml
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/update-sdk.yaml
vendored
4
.github/workflows/update-sdk.yaml
vendored
@ -14,6 +14,10 @@ on:
|
|||||||
Custom SDK container version to build. Defaults to source SDK w/ "-github-[DATE]" appended.
|
Custom SDK container version to build. Defaults to source SDK w/ "-github-[DATE]" appended.
|
||||||
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
outputs:
|
||||||
|
sdk_version:
|
||||||
|
description: "The version of the SDK container that was built"
|
||||||
|
value: ${{ jobs.update_sdk.outputs.sdk_version }}
|
||||||
inputs:
|
inputs:
|
||||||
source_sdk_version:
|
source_sdk_version:
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user