We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 326bbf0 commit 75c6b31Copy full SHA for 75c6b31
.github/workflows/deploy.yaml
@@ -0,0 +1,27 @@
1
+
2
+name: deploy
3
4
+on: push
5
6
+concurrency:
7
+ group: ${{ github.workflow }}-${{ github.ref }}
8
+ cancel-in-progress: true
9
10
+jobs:
11
+ build-n-publish:
12
+ runs-on: ubuntu-18.04
13
+ if: startsWith(github.event.ref, 'refs/tags')
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Python 3.7
17
+ uses: actions/setup-python@v2
18
+ with:
19
+ python-version: 3.7
20
+ - name: Install torch
21
+ run: pip install torch
22
+ - name: Build MMDet3D
23
+ run: python setup.py sdist
24
+ - name: Publish distribution to PyPI
25
+ run: |
26
+ pip install twine
27
+ twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}
0 commit comments