From d1775b49827149cc2eb05d0da9dc65a3e414690e Mon Sep 17 00:00:00 2001 From: zhyncs Date: Wed, 14 Aug 2024 14:33:07 +1000 Subject: [PATCH] upd --- .github/workflows/release_wheel.yml | 72 ----------------------------- 1 file changed, 72 deletions(-) diff --git a/.github/workflows/release_wheel.yml b/.github/workflows/release_wheel.yml index 4c74c1ef..d2c2e798 100644 --- a/.github/workflows/release_wheel.yml +++ b/.github/workflows/release_wheel.yml @@ -63,75 +63,3 @@ jobs: with: name: wheel-cuda${{ matrix.cuda }}-torch${{ matrix.torch }}-python${{ matrix.python }} path: python/dist/* - - release: - needs: build - runs-on: [self-hosted] - steps: - - uses: actions/download-artifact@v4 - with: - path: python/dist/ - merge-multiple: true - pattern: wheel-* - - - run: ls -lah python/dist/ - - - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ inputs.tag_name }} - files: | - python/dist/flashinfer*cp38*.whl - - - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ inputs.tag_name }} - files: | - python/dist/flashinfer*cp39*.whl - - - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ inputs.tag_name }} - files: | - python/dist/flashinfer*cp310*.whl - - - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ inputs.tag_name }} - files: | - python/dist/flashinfer*cp311*.whl - - - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ inputs.tag_name }} - files: | - python/dist/flashinfer*cp312*.whl - - - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ inputs.tag_name }} - files: | - python/dist/flashinfer-*.tar.gz - - - name: Clone wheel index - run: git clone https://oauth2:${WHL_TOKEN}@github.com/flashinfer-ai/whl.git flashinfer-whl - env: - WHL_TOKEN: ${{ secrets.WHL_TOKEN }} - - - name: Update wheel index - run: python3 scripts/update_whl_index.py - - - name: Push wheel index - run: | - cd flashinfer-whl - git config --local user.name "github-actions[bot]" - git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add -A - git commit -m "update whl" - git push - - # - name: Upload sdist to pypi - # run: | - # pip install twine - # python -m twine upload --repository testpypi --username=__token__ dist/*.tar.gz - # env: - # TWINE_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}