File tree 2 files changed +32
-4
lines changed
2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Python Package to PyPI
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+
7
+ jobs :
8
+
9
+ build-and-publish :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+
15
+ - name : Set up Python
16
+ uses : actions/setup-python@v4
17
+ with :
18
+ python-version : 3.9
19
+
20
+ - name : Install dependencies
21
+ run : |
22
+ python -m pip install --upgrade pip
23
+ pip install build
24
+
25
+ - name : Build package
26
+ run : python -m build
27
+
28
+ - name : Publish to PyPI
29
+ uses : pypa/gh-action-pypi-publish@release/v1
30
+ with :
31
+ user : cortega
32
+ password : ${{ secrets.rutificador }}
Original file line number Diff line number Diff line change 34
34
* .orig
35
35
* .tmp
36
36
37
- # Hidden directories (e.g., config, logs)
38
- . *
39
- ! .gitignore
40
-
41
37
# Log files
42
38
* .log
43
39
You can’t perform that action at this time.
0 commit comments