diff --git a/.github/workflows/pack-tree.yml b/.github/workflows/pack-tree.yml new file mode 100644 index 0000000..1d2a6cd --- /dev/null +++ b/.github/workflows/pack-tree.yml @@ -0,0 +1,26 @@ +name: Pack TreeDataGrid Nuget + +on: + push: + branches: [ "action/pack-tree" ] + pull_request: + branches: [ "action/pack-tree" ] + +jobs: + nuget: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + + - name: Nuget Semi.Avalonia.TreeDataGrid + run: dotnet pack ./src/Semi.Avalonia.TreeDataGrid -o ./nugets + + - name: Publish NuGet package + run: dotnet nuget push "./nugets/*.nupkg" --api-key ${{ secrets.NUGET_ORG_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.3.1 + with: + name: nugets + path: ./nugets diff --git a/README.md b/README.md index aec5623..22bc73a 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ We offer limited free community support for Semi Avalonia and Ursa. If you have | Semi Design Version | Avalonia Version | |:--------------------|:-----------------| +| 11.2.1 | 11.2.1 | +| 11.2.0 | 11.2.0 | | 11.1.0 | >=11.1.0 | | 11.0.7 | >=11.0.7 | | 11.0.1 | <=11.0.6 | diff --git a/README_CN.md b/README_CN.md index 1b7872d..2c44d3c 100644 --- a/README_CN.md +++ b/README_CN.md @@ -56,7 +56,6 @@ dotnet add package Semi.Avalonia.TreeDataGrid ## 示例 您可以从 Semi Avalonia 的 release 页下载并试用 Semi Avalonia 的展示应用。 - ## 社区支持 @@ -65,11 +64,12 @@ dotnet add package Semi.Avalonia.TreeDataGrid ![FeiShu](./docs/community-support.png) - ## 版本兼容性 | Semi Design Version | Avalonia Version | |:--------------------|:-----------------| +| 11.2.1 | 11.2.1 | +| 11.2.0 | 11.2.0 | | 11.1.0 | >=11.1.0 | | 11.0.7 | >=11.0.7 | | 11.0.1 | <=11.0.6 | diff --git a/Semi.Avalonia.sln b/Semi.Avalonia.sln index 9b15597..b7564d0 100644 --- a/Semi.Avalonia.sln +++ b/Semi.Avalonia.sln @@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub Action", "GitHub Act ProjectSection(SolutionItems) = preProject .github\workflows\deploy.yml = .github\workflows\deploy.yml .github\workflows\pack.yml = .github\workflows\pack.yml + .github\workflows\pack-tree.yml = .github\workflows\pack-tree.yml .github\workflows\publish.yml = .github\workflows\publish.yml EndProjectSection EndProject