From 975b39645db1d03be80cd4603c23e3fd676eb268 Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Fri, 22 Nov 2024 11:30:16 -0800 Subject: [PATCH] declare outputs --- .github/workflows/publish_sdm_connector.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish_sdm_connector.yml b/.github/workflows/publish_sdm_connector.yml index eec8c381..c1b8f81c 100644 --- a/.github/workflows/publish_sdm_connector.yml +++ b/.github/workflows/publish_sdm_connector.yml @@ -36,6 +36,7 @@ jobs: echo "DETECTED_VERSION=${DETECTED_VERSION}" >> $GITHUB_ENV - name: Validate and set VERSION from tag ('${{ github.ref_name }}') and input (${{ github.event.inputs.version || 'none' }}) + id: set_version if: github.event_name == 'workflow_dispatch' run: | INPUT_VERSION=${{ github.event.inputs.version }} @@ -89,6 +90,9 @@ jobs: path: | /tmp/baipp/dist/*.whl /tmp/baipp/dist/*.tar.gz + outputs: + VERSION: ${{ steps.set_version.outputs.VERSION }} + IS_PRERELEASE: ${{ steps.set_version.outputs.IS_PRERELEASE }} publish_sdm: name: Publish SDM to DockerHub