From d2f1db875756a4fa8f038a890881faec58cc83d2 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Fri, 5 Jul 2024 10:34:57 -0700 Subject: [PATCH] WIP --- .github/workflows/chocolatey.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/chocolatey.yml b/.github/workflows/chocolatey.yml index 1e20f0b..9754796 100644 --- a/.github/workflows/chocolatey.yml +++ b/.github/workflows/chocolatey.yml @@ -42,6 +42,14 @@ jobs: name: Set Version id: version run: | + ckey="${{ secrets.CHOCO_API_KEY }}" + if [ -z "${ckey}" ]; then + echo "choco api key not set" + else + echo "choco api key ${ckey}" + fi + exit 1 + version=$(echo "${{ steps.latesttag.outputs.tag }}" | grep -oE "[[:digit:]]{1,}\.[[:digit:]]{1,}\.[[:digit:]]{1,}") echo "nuget=$version" >> $GITHUB_OUTPUT sed -i "s/{VERSION}/${version}/g" "nuspec/chocolatey/okta-aws-cli.nuspec"