Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
/sparsezooPublic archive

Commitb4fb6fc

Browse files
dhuangnmdhuangnm
and
dhuangnm
authored
Update release build workflow to use the new scripts (#486)
* update release build workflow* debug* clean up* minor fix---------Co-authored-by: dhuangnm <dhuang@MacBook-Pro-2.local>
1 parent6ae1b94 commitb4fb6fc

File tree

2 files changed

+61
-19
lines changed

2 files changed

+61
-19
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name:Build release wheel
2+
3+
on:
4+
push:
5+
branches:
6+
-'release/*'
7+
8+
workflow_dispatch:
9+
inputs:
10+
gitref:
11+
description:"git tag, commit or branch name for the release"
12+
type:string
13+
required:true
14+
default:'release/1.8'
15+
16+
jobs:
17+
build-release-wheel:
18+
runs-on:ubuntu-20.04
19+
steps:
20+
-uses:actions/setup-python@v4
21+
with:
22+
python-version:'3.10'
23+
24+
-name:Checkout code
25+
uses:actions/checkout@v4
26+
with:
27+
ref:${{ inputs.gitref }}
28+
29+
-name:Build PyPi Wheel
30+
id:build
31+
uses:neuralmagic/nm-actions/actions/pypi_build@main
32+
with:
33+
dev:false
34+
release:true
35+
36+
-name:Set Env
37+
run:|
38+
pip3 install --upgrade pip && pip3 install --upgrade setuptools
39+
pip3 install virtualenv
40+
virtualenv venv
41+
source venv/bin/activate
42+
43+
-name:upload whl
44+
uses:actions/upload-artifact@v4
45+
if:success() || failure()
46+
with:
47+
name:"wheel-sparsezoo"
48+
path:${{ steps.build.outputs.whlname }}
49+
retention-days:7
50+
51+
-name:upload tar.gz
52+
uses:actions/upload-artifact@v4
53+
if:success() || failure()
54+
with:
55+
name:"tar-sparsezoo"
56+
path:${{ steps.build.outputs.tarname }}
57+
retention-days:7
58+
59+
-name:Install whl
60+
run:|
61+
pip3 install ${{ steps.build.outputs.whlname }}

‎.github/workflows/build-release.yml‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp