Skip to content

Commit

Permalink
Reorder the sanity check due to missing dependency in python
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoopmans committed Oct 3, 2022
1 parent ab9e5af commit 6fe971c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install build wheel
- name: Check if properly tagged
run: |
PACKAGE_VERSION="$(python -c 'from tinify import __version__;print(__version__)')";
Expand All @@ -84,10 +88,6 @@ jobs:
>&2 echo "Skipping deploy"
exit 1;
fi
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install build wheel
- name: Build package (sdist & wheel)
run: |
python -m build --sdist --wheel --outdir dist/
Expand Down

0 comments on commit 6fe971c

Please sign in to comment.