File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " github-actions"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " monthly"
Original file line number Diff line number Diff line change 48
48
run : |
49
49
python -m nox --non-interactive --error-on-missing-interpreter \
50
50
--session "${{matrix.session}}-${{matrix.python-version}}"
51
+
52
+ build :
53
+ runs-on : ubuntu-latest
54
+ steps :
55
+ - uses : actions/checkout@v3
56
+ with :
57
+ fetch-depth : 0
58
+ - uses : actions/setup-python@v4
59
+ name : Install Python
60
+ with :
61
+ python-version : " 3.9"
62
+ - name : Build sdist and wheel
63
+ run : |
64
+ python -m pip install -U pip
65
+ python -m pip install -U build
66
+ python -m build .
67
+ - uses : actions/upload-artifact@v3
68
+ with :
69
+ path : dist/*
70
+
71
+ upload_pypi :
72
+ needs : [tests, build]
73
+ runs-on : ubuntu-latest
74
+ if : startsWith(github.ref, 'refs/tags/')
75
+ steps :
76
+ - uses : actions/download-artifact@v3
77
+ with :
78
+ name : artifact
79
+ path : dist
80
+
81
+ - uses : pypa/gh-action-pypi-publish@v1.6.4
82
+ with :
83
+ user : __token__
84
+ password : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments