File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed
Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change 3535 permissions :
3636 id-token : write
3737 steps :
38- - name : Install Python (if missing)
39- run : |
40- sudo apt-get update
41- sudo apt-get install -y python3 python3-pip
42-
43- - name : Update python dependencies
44- run : |
45- python3 -m venv venv
46- source venv/bin/activate
47- pip install -U packaging
48-
4938 - uses : actions/download-artifact@v4
5039 with :
5140 name : artifact
5443 - name : Publish package to TestPyPI
5544 env :
5645 PATH : ${{ github.workspace }}/venv/bin:$PATH
57- uses : pypa/gh-action-pypi-publish@release/v1
46+ uses : pypa/gh-action-pypi-publish@release/v1.12.4
5847 with :
5948 repository-url : https://test.pypi.org/legacy/
6049
6655 id-token : write
6756 if : startsWith(github.ref, 'refs/tags/v') && github.repository == 'linux-nvme/libnvme'
6857 steps :
69- - name : Install Python (if missing)
70- run : |
71- sudo apt-get update
72- sudo apt-get install -y python3 python3-pip
73-
74- - name : Update python dependencies
75- run : |
76- python3 -m venv venv
77- source venv/bin/activate
78- pip install -U packaging
79-
8058 - name : Check if it is a release tag
8159 id : check-tag
8260 run : |
9270 path : dist
9371
9472 - name : Publish package to PyPI
95- env :
96- PATH : ${{ github.workspace }}/venv/bin:$PATH
97- uses : pypa/gh-action-pypi-publish@release/v1
73+ uses : pypa/gh-action-pypi-publish@release/v1.12.4
9874 if : steps.check-tag.outputs.match == 'true'
You can’t perform that action at this time.
0 commit comments