File tree 1 file changed +14
-3
lines changed
1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,36 @@ permissions:
17
17
18
18
jobs :
19
19
deploy :
20
-
21
20
runs-on : ubuntu-latest
22
21
23
22
steps :
23
+ - uses : actions/checkout@v4
24
+ with :
25
+ fetch-depth : 0
26
+
24
27
- name : List directory contents
25
28
run : ls -la
29
+
26
30
- name : Print working directory
27
31
run : pwd
28
- - uses : actions/checkout@v4
32
+
29
33
- name : Set up Python
30
- uses : actions/setup-python@v3
34
+ uses : actions/setup-python@v4
31
35
with :
32
36
python-version : ' 3.x'
37
+
33
38
- name : Install dependencies
34
39
run : |
35
40
python -m pip install --upgrade pip
36
41
pip install build
42
+
43
+ - name : Install project dependencies
44
+ run : |
45
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
46
+
37
47
- name : Build package
38
48
run : python -m build
49
+
39
50
- name : Publish package
40
51
uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
41
52
with :
You can’t perform that action at this time.
0 commit comments