From 236f665031b179e3516708a48da640d3db6bfc30 Mon Sep 17 00:00:00 2001 From: Brayan batista zuniga Date: Tue, 27 Feb 2024 10:40:05 -0500 Subject: [PATCH] fix: testing complete flow with enviroment variable and secrets --- .github/workflows/template-main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/template-main.yml b/.github/workflows/template-main.yml index 7705a5a..fa8f363 100644 --- a/.github/workflows/template-main.yml +++ b/.github/workflows/template-main.yml @@ -79,12 +79,13 @@ jobs: echo "$VER" echo "RELEASE_VERSION=$VER" >> $GITHUB_ENV - # - name: Validate conditions - # if: ${{ (vars.PUBLISH_ARTIFACT == true) && (env.RELEASE_VERSION != '') }} - # run: | - # echo "RELEASE_VERSION=${{ env.RELEASE_VERSION }}" - # echo "GITHUB_API_URL=${{ env.GH_API_URL }}" - # echo "PUBLISH_ARTIFACT=${{ vars.PUBLISH_ARTIFACT }}" + - name: Validate conditions + run: | + echo "RELEASE_VERSION=${{ env.RELEASE_VERSION }}" + echo "RELEASE_VERSION=${RELEASE_VERSION}" + echo "RELEASE_VERSION=$VER" + echo "GITHUB_API_URL=${{ env.GH_API_URL }}" + echo "PUBLISH_ARTIFACT=${{ vars.PUBLISH_ARTIFACT }}" # - name: Restore dependencies cache # uses: actions/cache@v4