From 8ec0695e1ac8a078cbaba55ad7f2bcf135206f33 Mon Sep 17 00:00:00 2001 From: Linyiqi Date: Wed, 24 Nov 2021 10:55:06 +0800 Subject: [PATCH] Remove duplicate deploy yaml (#5) * Remove extension code in setup * Update author in setup * Remove duplicate deploy yml --- .github/workflows/deploy.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index a6bebf5..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: deploy - -on: push - -jobs: - build-n-publish: - runs-on: ubuntu-latest - 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: Install wheel - run: pip install wheel - - name: Build MMFewShot - run: python setup.py sdist bdist_wheel - - name: Publish distribution to PyPI - run: | - pip install twine - twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}