Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDILab开源决策智能平台
treevalue
提交
74d93758
T
treevalue
项目概览
OpenDILab开源决策智能平台
/
treevalue
9 个月 前同步成功
通知
3
Star
213
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
treevalue
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
74d93758
编写于
7月 14, 2022
作者:
HansBug
😆
2
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
release(hansbug): fix the release problem && use matrix.os instead of runner.os
上级
5bde72c6
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
73 addition
and
5 deletion
+73
-5
.github/workflows/release.yml
.github/workflows/release.yml
+72
-4
.github/workflows/release_test.yml
.github/workflows/release_test.yml
+1
-1
未找到文件。
.github/workflows/release.yml
浏览文件 @
74d93758
...
...
@@ -6,7 +6,7 @@ on:
jobs
:
source_release
:
name
:
Publish source package to official pypi
name
:
Build and publish the source package
runs-on
:
${{ matrix.os }}
if
:
${{ github.repository == 'opendilab/treevalue' }}
strategy
:
...
...
@@ -41,17 +41,18 @@ jobs:
with
:
password
:
${{ secrets.PYPI_PASSWORD }}
verbose
:
true
skip_existing
:
true
-
name
:
Upload distribution 📦 to github release
uses
:
svenstaro/upload-release-action@v2
with
:
repo_token
:
${{ secrets.GITHUB_TOKEN }}
file
:
dist/*
tag
:
${{ github.ref }}
overwrite
:
false
file_glob
:
true
wheel_release
:
name
:
Try build the wheels
wheel_build
:
name
:
Build the wheels
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
...
...
@@ -114,6 +115,71 @@ jobs:
CIBW_ARCHS
:
${{ matrix.architecture }}
CIBW_PROJECT_REQUIRES_PYTHON
:
~=${{ matrix.python }}.0
-
name
:
Show the buildings
shell
:
bash
run
:
|
ls -al ./wheelhouse
-
name
:
Upload packed files to artifacts
uses
:
actions/upload-artifact@v3
with
:
name
:
build-artifacts-${{ matrix.os }}-cp${{ matrix.python }}-${{ matrix.architecture }}
path
:
./wheelhouse
# the publishing can only be processed on linux system
wheel_publish
:
name
:
Publish the wheels to pypi
runs-on
:
ubuntu-18.04
needs
:
-
wheel_build
strategy
:
fail-fast
:
false
matrix
:
os
:
-
'
ubuntu-18.04'
-
'
windows-2019'
-
'
macos-10.15'
python
:
-
'
3.6'
-
'
3.7'
-
'
3.8'
-
'
3.9'
-
'
3.10'
architecture
:
-
x86_64
-
arm64
-
aarch64
-
x86
-
AMD64
exclude
:
-
os
:
ubuntu-18.04
architecture
:
arm64
-
os
:
ubuntu-18.04
architecture
:
x86
-
os
:
ubuntu-18.04
architecture
:
AMD64
-
os
:
windows-2019
architecture
:
x86_64
-
os
:
windows-2019
architecture
:
arm64
-
os
:
windows-2019
architecture
:
aarch64
-
os
:
macos-10.15
architecture
:
aarch64
-
os
:
macos-10.15
architecture
:
x86
-
os
:
macos-10.15
architecture
:
AMD64
-
python
:
'
3.6'
architecture
:
arm64
-
python
:
'
3.7'
architecture
:
arm64
steps
:
-
name
:
Download packed files to artifacts
uses
:
actions/download-artifact@v3
with
:
name
:
build-artifacts-${{ matrix.os }}-cp${{ matrix.python }}-${{ matrix.architecture }}
path
:
./wheelhouse
-
name
:
Show the buildings
shell
:
bash
run
:
|
...
...
@@ -123,6 +189,7 @@ jobs:
with
:
password
:
${{ secrets.PYPI_PASSWORD }}
verbose
:
true
skip_existing
:
true
packages_dir
:
wheelhouse/
-
name
:
Upload distribution 📦 to github release
uses
:
svenstaro/upload-release-action@v2
...
...
@@ -130,4 +197,5 @@ jobs:
repo_token
:
${{ secrets.GITHUB_TOKEN }}
file
:
wheelhouse/*
tag
:
${{ github.ref }}
overwrite
:
false
file_glob
:
true
.github/workflows/release_test.yml
浏览文件 @
74d93758
...
...
@@ -110,7 +110,7 @@ jobs:
run
:
|
ls -al ./wheelhouse
-
name
:
Upload packed files to artifacts
uses
:
actions/upload-artifact@v
2
uses
:
actions/upload-artifact@v
3
with
:
name
:
build-artifacts-${{ runner.os }}-cp${{ matrix.python }}-${{ matrix.architecture }}
path
:
./wheelhouse/*
OpenDILab开源决策智能平台
@m0_55289267
mentioned in commit
fe2e6b7b
·
9月 05, 2022
mentioned in commit
fe2e6b7b
mentioned in commit fe2e6b7bd6eeb2aff268c808ed697d640e8b5d62
开关提交列表
HansBug
😆
@HansBug
mentioned in commit
98e52f0c
·
9月 05, 2022
mentioned in commit
98e52f0c
mentioned in commit 98e52f0c67325fdd4bcc216a4dec7cfc173418a1
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录