Skip to content

Commit

Permalink
[CI] upload whls to release (#347)
Browse files Browse the repository at this point in the history
* upload whls to release

* add trigger

* remove token

* add arch
  • Loading branch information
CSY-ModelCloud authored Aug 12, 2024
1 parent 542e81a commit c32a3c8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build_wheels_cuda_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ defaults:
on:
schedule:
- cron: '0 20 * * *'
release:
types: [published]
repository_dispatch:
workflow_dispatch:
inputs:
Expand All @@ -22,6 +24,7 @@ env:
CUDA_DEVICE_ORDER: PCI_BUS_ID
AMD_SERVER: 10.0.13.31
INTEL_SERVER: 10.0.23.35
TORCH_CUDA_ARCH_LIST: "6.0 6.1 6.2 7.0 7.5 8.0 8.6 8.9 9.0"

concurrency:
group: ${{ github.ref }}-workflow-release
Expand Down Expand Up @@ -192,6 +195,13 @@ jobs:
name: ${{ env.WHL_NAME }}
path: dist/${{ env.WHL_NAME }}

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: dist/${{ env.WHL_NAME }}
tag: ${{ github.ref }}
file_glob: true

release-intel:
strategy:
fail-fast: false
Expand Down Expand Up @@ -250,3 +260,10 @@ jobs:
with:
name: ${{ env.WHL_NAME }}
path: dist/${{ env.WHL_NAME }}

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: dist/${{ env.WHL_NAME }}
tag: ${{ github.ref }}
file_glob: true

0 comments on commit c32a3c8

Please sign in to comment.