From 9f8c1b4e2f2af31bb746c4211c020da011766f53 Mon Sep 17 00:00:00 2001 From: David Hadka Date: Fri, 2 Aug 2024 16:34:33 -0600 Subject: [PATCH] Validate expected version --- .github/workflows/stage.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 6d5e0c5..6000a40 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -3,7 +3,7 @@ name: Validate and stage release on: workflow_dispatch: inputs: - version: + expected-version: type: string description: The version to publish required: true @@ -39,6 +39,7 @@ jobs: - name: Get project info uses: MOEAFramework/.github/actions/get-project-info@main with: + expected-version: ${{ inputs.expected-version }} skip-validation: ${{ inputs.skip-validation }} - name: Build and stage Maven artifacts if: ${{ inputs.publish-maven }}