Skip to content

Commit

Permalink
chore: Update CD workflow to remove unnecessary steps and improve ver…
Browse files Browse the repository at this point in the history
…sion checking
  • Loading branch information
brunobotelhobr committed Jul 24, 2024
1 parent 895125e commit 8dead02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down

0 comments on commit 8dead02

Please sign in to comment.