From 8dead02fab3d74e878ff1d8a2e3606db0ee1a4d0 Mon Sep 17 00:00:00 2001 From: Bruno Botelho Date: Wed, 24 Jul 2024 15:11:52 -0300 Subject: [PATCH] chore: Update CD workflow to remove unnecessary steps and improve version checking --- .github/workflows/cd.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ccf6ae4..2982165 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -13,8 +13,11 @@ jobs: runs-on: ubuntu-latest env: VERSION: ${{ github.event.inputs.version }} + PYTHON: '3.11' steps: - uses: actions/checkout@master + - name: Setup Python + uses: actions/setup-python@master - name: Vesion Check run: | # Regex to fech if it is in format 1.2.12 @@ -33,7 +36,7 @@ jobs: echo "Version in code is not the same as the one in the release" exit 1 fi - echo "Version in code is the same as the one in the release" + echo "Version in code ($APPVERSION) is the same as the one in the release ($VERSION)" Call-CI: needs: [Version-Check]