Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
mmdetection3d
Commits
75c6b312
"torchvision/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "43dbfd2e397930a9e4595a8914eb0221b34a55d5"
Unverified
Commit
75c6b312
authored
Sep 01, 2022
by
VVsssssk
Committed by
GitHub
Sep 01, 2022
Browse files
add deploy.yaml (#1800)
parent
326bbf03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
.github/workflows/deploy.yaml
.github/workflows/deploy.yaml
+27
-0
No files found.
.github/workflows/deploy.yaml
0 → 100644
View file @
75c6b312
name
:
deploy
on
:
push
concurrency
:
group
:
${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
build-n-publish
:
runs-on
:
ubuntu-18.04
if
:
startsWith(github.event.ref, 'refs/tags')
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
3.7
uses
:
actions/setup-python@v2
with
:
python-version
:
3.7
-
name
:
Install torch
run
:
pip install torch
-
name
:
Build MMDet3D
run
:
python setup.py sdist
-
name
:
Publish distribution to PyPI
run
:
|
pip install twine
twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment