Skip to content

Commit 6fe971c

Browse files
committed
Reorder the sanity check due to missing dependency in python
1 parent ab9e5af commit 6fe971c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
uses: actions/setup-python@v4
7575
with:
7676
python-version: "3.10"
77+
- name: Install dependencies
78+
run: |
79+
pip install -r requirements.txt
80+
pip install build wheel
7781
- name: Check if properly tagged
7882
run: |
7983
PACKAGE_VERSION="$(python -c 'from tinify import __version__;print(__version__)')";
@@ -84,10 +88,6 @@ jobs:
8488
>&2 echo "Skipping deploy"
8589
exit 1;
8690
fi
87-
- name: Install dependencies
88-
run: |
89-
pip install -r requirements.txt
90-
pip install build wheel
9191
- name: Build package (sdist & wheel)
9292
run: |
9393
python -m build --sdist --wheel --outdir dist/

0 commit comments

Comments
 (0)