File tree Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Original file line number Diff line number Diff line change @@ -80,17 +80,32 @@ jobs:
80
80
81
81
release :
82
82
runs-on : ubuntu-latest
83
+ strategy :
84
+ matrix :
85
+ python-version : ["3.10"]
86
+
83
87
needs : build
84
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
88
+ # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
85
89
steps :
90
+ - uses : actions/checkout@v3
91
+
92
+ - name : Install poetry
93
+ run : pipx install "poetry==1.1.15"
94
+
95
+ - name : Set up Python ${{ matrix.python-version }}
96
+ uses : actions/setup-python@v4
97
+ with :
98
+ python-version : ${{ matrix.python-version }}
99
+ cache : ' poetry'
100
+
86
101
- name : Build package
87
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
102
+ # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
88
103
run : poetry build
89
104
90
- - name : Publish package
91
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
92
- uses : pypa/gh-action-pypi-publish@release/v1
93
- with :
94
- user : __token__
95
- password : ${{ secrets.PYPI_API_TOKEN }}
96
- skip_existing : true
105
+ # - name: Publish package
106
+ # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
107
+ # uses: pypa/gh-action-pypi-publish@release/v1
108
+ # with:
109
+ # user: __token__
110
+ # password: ${{ secrets.PYPI_API_TOKEN }}
111
+ # skip_existing: true
You can’t perform that action at this time.
0 commit comments