Skip to content

Commit

Permalink
No release
Browse files Browse the repository at this point in the history
  • Loading branch information
vinovo committed Oct 21, 2024
1 parent a060e97 commit 188a210
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 67 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build-wheels-cpu-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ jobs:
name: wheels-macos-${{ matrix.os }}
path: ./wheelhouse/*.whl

release:
name: Release
needs: [build_wheels_macos]
runs-on: ubuntu-latest
# release:
# name: Release
# needs: [build_wheels_macos]
# runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
path: dist
# steps:
# - uses: actions/download-artifact@v4
# with:
# merge-multiple: true
# path: dist

- uses: softprops/action-gh-release@v2
with:
files: dist/*
tag_name: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: softprops/action-gh-release@v2
# with:
# files: dist/*
# tag_name: ${{ github.ref_name }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 15 additions & 15 deletions .github/workflows/build-wheels-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,20 +144,20 @@ jobs:
name: sdist
path: ./dist/*.tar.gz

release:
name: Release
needs: [build_wheels_win, build_wheels_arm64, build_sdist] # build_wheels_linux
runs-on: ubuntu-latest
# release:
# name: Release
# needs: [build_wheels_win, build_wheels_arm64, build_sdist] # build_wheels_linux
# runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
path: dist
# steps:
# - uses: actions/download-artifact@v4
# with:
# merge-multiple: true
# path: dist

- uses: softprops/action-gh-release@v2
with:
files: dist/*
tag_name: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: softprops/action-gh-release@v2
# with:
# files: dist/*
# tag_name: ${{ github.ref_name }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/build-wheels-cuda-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ jobs:
# write the build tag to the output
Write-Output "CUDA_VERSION=$cudaVersion" >> $env:GITHUB_ENV
- uses: softprops/action-gh-release@v2
with:
files: dist/*
# Set tag_name to <tag>-cu<cuda_version>
tag_name: ${{ github.ref_name }}-cu${{ env.CUDA_VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: softprops/action-gh-release@v2
# with:
# files: dist/*
# # Set tag_name to <tag>-cu<cuda_version>
# tag_name: ${{ github.ref_name }}-cu${{ env.CUDA_VERSION }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/build-wheels-cuda-win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ jobs:
# write the build tag to the output
Write-Output "CUDA_VERSION=$cudaVersion" >> $env:GITHUB_ENV
- uses: softprops/action-gh-release@v2
with:
files: dist/*
# Set tag_name to <tag>-cu<cuda_version>
tag_name: ${{ github.ref_name }}-cu${{ env.CUDA_VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: softprops/action-gh-release@v2
# with:
# files: dist/*
# # Set tag_name to <tag>-cu<cuda_version>
# tag_name: ${{ github.ref_name }}-cu${{ env.CUDA_VERSION }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 16 additions & 16 deletions .github/workflows/build-wheels-metal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ jobs:
name: wheels-macos-${{ matrix.os }}-metal
path: ./wheelhouse2/*.whl

release:
name: Release
needs: [build_wheels]
runs-on: ubuntu-latest
# release:
# name: Release
# needs: [build_wheels]
# runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
path: dist2
# steps:
# - uses: actions/download-artifact@v4
# with:
# merge-multiple: true
# path: dist2

- uses: softprops/action-gh-release@v2
with:
files: dist2/*
# set release name to <tag>-metal
tag_name: ${{ github.ref_name }}-metal
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: softprops/action-gh-release@v2
# with:
# files: dist2/*
# # set release name to <tag>-metal
# tag_name: ${{ github.ref_name }}-metal
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/build-wheels-rocm-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ jobs:
ROCM_VERSION=$(echo $ROCMVER | tr -d '.')
echo "ROCM_VERSION=$ROCM_VERSION" >> $GITHUB_ENV
- uses: softprops/action-gh-release@v2
with:
files: dist/*
# Set tag_name to <tag>-rocm<rocm_version>
tag_name: ${{ github.ref_name }}-rocm${{ env.ROCM_VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: softprops/action-gh-release@v2
# with:
# files: dist/*
# # Set tag_name to <tag>-rocm<rocm_version>
# tag_name: ${{ github.ref_name }}-rocm${{ env.ROCM_VERSION }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 188a210

Please sign in to comment.