Skip to content

Commit 7cf4533

Browse files
committed
misc: add pack TreeDataGrid GitHub Action file.
1 parent 99d928e commit 7cf4533

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

.github/workflows/pack-tree.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Pack TreeDataGrid Nuget
2+
3+
on:
4+
push:
5+
branches: [ "action/pack-tree" ]
6+
pull_request:
7+
branches: [ "action/pack-tree" ]
8+
9+
jobs:
10+
nuget:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4.1.1
15+
16+
- name: Nuget Semi.Avalonia.TreeDataGrid
17+
run: dotnet pack ./src/Semi.Avalonia.TreeDataGrid -o ./nugets
18+
19+
- name: Publish NuGet package
20+
run: dotnet nuget push "./nugets/*.nupkg" --api-key ${{ secrets.NUGET_ORG_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
21+
22+
- name: Upload a Build Artifact
23+
uses: actions/upload-artifact@v4.3.1
24+
with:
25+
name: nugets
26+
path: ./nugets

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ We offer limited free community support for Semi Avalonia and Ursa. If you have
6868

6969
| Semi Design Version | Avalonia Version |
7070
|:--------------------|:-----------------|
71+
| 11.2.1 | 11.2.1 |
72+
| 11.2.0 | 11.2.0 |
7173
| 11.1.0 | >=11.1.0 |
7274
| 11.0.7 | >=11.0.7 |
7375
| 11.0.1 | <=11.0.6 |

README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ dotnet add package Semi.Avalonia.TreeDataGrid
5656
## 示例
5757

5858
您可以从 Semi Avalonia 的 release 页下载并试用 Semi Avalonia 的展示应用。
59-
6059
<https://github.com/irihitech/Semi.Avalonia/releases>
6160

6261
## 社区支持
@@ -65,11 +64,12 @@ dotnet add package Semi.Avalonia.TreeDataGrid
6564

6665
![FeiShu](./docs/community-support.png)
6766

68-
6967
## 版本兼容性
7068

7169
| Semi Design Version | Avalonia Version |
7270
|:--------------------|:-----------------|
71+
| 11.2.1 | 11.2.1 |
72+
| 11.2.0 | 11.2.0 |
7373
| 11.1.0 | >=11.1.0 |
7474
| 11.0.7 | >=11.0.7 |
7575
| 11.0.1 | <=11.0.6 |

Semi.Avalonia.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub Action", "GitHub Act
1616
ProjectSection(SolutionItems) = preProject
1717
.github\workflows\deploy.yml = .github\workflows\deploy.yml
1818
.github\workflows\pack.yml = .github\workflows\pack.yml
19+
.github\workflows\pack-tree.yml = .github\workflows\pack-tree.yml
1920
.github\workflows\publish.yml = .github\workflows\publish.yml
2021
EndProjectSection
2122
EndProject

0 commit comments

Comments
 (0)