Skip to content

Commit 36408d7

Browse files
committed
Attempt to fix the workflow
1 parent 337125f commit 36408d7

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

.github/workflows/workflow.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,39 @@ jobs:
1414
os: [ubuntu-latest, windows-latest, macos-latest]
1515

1616
steps:
17-
# check out the repository
17+
# Step 1: Check out the repository
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v2
2020

21-
# set up Python environment
21+
# Step 2: Set up Python environment
2222
- name: Set up Python
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v2
2424
with:
2525
python-version: '3.11.x'
26-
27-
# install dependencies
26+
27+
# Step 3: Print Python version and pip version
28+
- name: Print Python version
29+
run: |
30+
python --version
31+
pip --version
32+
33+
# Step 4: Install dependencies
2834
- name: Install dependencies
2935
run: |
3036
python -m pip install --upgrade pip
3137
pip install -r requirements.txt
32-
33-
# build dist files
38+
39+
# Step 5: Build distribution files
3440
- name: Build distribution
3541
run: |
3642
python setup.py sdist bdist_wheel
37-
38-
# install twine
43+
44+
# Step 6: Install twine
3945
- name: Install twine
4046
run: |
4147
python -m pip install --upgrade twine
42-
43-
# upload
48+
49+
# Step 7: Upload to Test PyPI
4450
- name: Upload
4551
env:
4652
TWINE_USERNAME: ${{ secrets.USERNAME }}

0 commit comments

Comments
 (0)