FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DeepLabCut-live/.github/workflows/python-package.yml at main · DeepLabCut/DeepLabCut-live · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
DeepLabCut
/
DeepLabCut-live
Public
Notifications
You must be signed in to change notification settings
Fork
56
Star
240
Code
Issues
3
Pull requests
2
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
DeepLabCut-live
/
.github
/
workflows
/
python-package.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
59 lines (52 loc) · 1.44 KB
Breadcrumbs
DeepLabCut-live
/
.github
/
workflows
/
python-package.yml
Copy path
File metadata and controls
59 lines (52 loc) · 1.44 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name
:
Update pypi release
on
:
push
:
tags
:
-
'
v*.*.*
'
pull_request
:
branches
:
-
main
-
public
types
:
-
labeled
-
opened
-
edited
-
synchronize
-
reopened
jobs
:
release
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Setup Python
id
:
setup-python
uses
:
actions/setup-python@v5
with
:
python-version
:
'
3.x
'
-
name
:
Cache dependencies
id
:
pip-cache
uses
:
actions/cache@v4
with
:
path
:
~/.cache/pip
key
:
${{ runner.os }}-pip-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml', 'requirements.txt', 'setup.cfg', 'setup.py') }}
restore-keys
:
|
${{ runner.os }}-pip-${{ steps.setup-python.outputs.python-version }}-
${{ runner.os }}-pip-
-
name
:
Install dependencies
run
:
|
pip install --upgrade pip
pip install wheel
pip install "packaging>=24.2"
pip install build
pip install twine
-
name
:
Checkout code
uses
:
actions/checkout@v4
-
name
:
Build and publish to PyPI
if
:
${{ github.event_name == 'push' }}
env
:
TWINE_USERNAME
:
__token__
TWINE_PASSWORD
:
${{ secrets.TWINE_API_KEY }}
run
:
|
python -m build
ls dist/
tar tvf dist/deeplabcut_live-*.tar.gz
python3 -m twine upload --verbose dist/*
Back
|
FazBrowse Home
|
New Git URL