Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit d9ab410

Browse files
committed
Test build
1 parent e9bc025 commit d9ab410

File tree

1 file changed

+41
-39
lines changed

1 file changed

+41
-39
lines changed

.github/workflows/build.yaml

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,42 @@ name: Build AutoAWQ Wheels with CUDA
22

33
on:
44
push:
5-
tags:
6-
- "v*"
5+
branches:
6+
- "new_kernels"
7+
# tags:
8+
# - "v*"
79

810
jobs:
9-
release:
10-
# Retrieve tag and create release
11-
name: Create Release
12-
runs-on: ubuntu-latest
13-
outputs:
14-
upload_url: ${{ steps.create_release.outputs.upload_url }}
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v3
18-
19-
- name: Extract branch info
20-
shell: bash
21-
run: |
22-
echo "release_tag=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
23-
24-
- name: Create Release
25-
id: create_release
26-
uses: "actions/github-script@v6"
27-
env:
28-
RELEASE_TAG: ${{ env.release_tag }}
29-
with:
30-
github-token: "${{ secrets.GITHUB_TOKEN }}"
31-
script: |
32-
const script = require('.github/workflows/scripts/github_create_release.js')
33-
await script(github, context, core)
11+
# release:
12+
# # Retrieve tag and create release
13+
# name: Create Release
14+
# runs-on: ubuntu-latest
15+
# outputs:
16+
# upload_url: ${{ steps.create_release.outputs.upload_url }}
17+
# steps:
18+
# - name: Checkout
19+
# uses: actions/checkout@v3
20+
21+
# - name: Extract branch info
22+
# shell: bash
23+
# run: |
24+
# echo "release_tag=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
25+
26+
# - name: Create Release
27+
# id: create_release
28+
# uses: "actions/github-script@v6"
29+
# env:
30+
# RELEASE_TAG: ${{ env.release_tag }}
31+
# with:
32+
# github-token: "${{ secrets.GITHUB_TOKEN }}"
33+
# script: |
34+
# const script = require('.github/workflows/scripts/github_create_release.js')
35+
# await script(github, context, core)
3436

3537
build_cuda_wheels:
3638
name: Build AWQ with CUDA
3739
runs-on: ${{ matrix.os }}
38-
needs: release
40+
# needs: release
3941

4042
strategy:
4143
matrix:
@@ -114,16 +116,16 @@ jobs:
114116
115117
python setup.py sdist bdist_wheel
116118
117-
- name: Upload Assets
118-
uses: shogo82148/actions-upload-release-asset@v1
119-
with:
120-
upload_url: ${{ needs.release.outputs.upload_url }}
121-
asset_path: ./dist/*.whl
119+
# - name: Upload Assets
120+
# uses: shogo82148/actions-upload-release-asset@v1
121+
# with:
122+
# upload_url: ${{ needs.release.outputs.upload_url }}
123+
# asset_path: ./dist/*.whl
122124

123125
build_rocm_wheels:
124126
name: Build AWQ with ROCm
125127
runs-on: ${{ matrix.os }}
126-
needs: release
128+
# needs: release
127129

128130
strategy:
129131
matrix:
@@ -225,8 +227,8 @@ jobs:
225227
226228
ROCM_VERSION=${{ matrix.rocm }} python setup.py sdist bdist_wheel
227229
228-
- name: Upload Assets
229-
uses: shogo82148/actions-upload-release-asset@v1
230-
with:
231-
upload_url: ${{ needs.release.outputs.upload_url }}
232-
asset_path: ./dist/*.whl
230+
# - name: Upload Assets
231+
# uses: shogo82148/actions-upload-release-asset@v1
232+
# with:
233+
# upload_url: ${{ needs.release.outputs.upload_url }}
234+
# asset_path: ./dist/*.whl

0 commit comments

Comments
 (0)