Skip to content

Commit 5884b5a

Browse files
committed
feat: initial projects
1 parent e851e1b commit 5884b5a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2984
-0
lines changed

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.github/FUNDING.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: ant-design-blazor # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: ['https://yangshunjie.com/images/qrcode/alipay.jpg','https://yangshunjie.com/images/qrcode/wepay.jpg'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/gh-pages.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Publish Docs
2+
3+
env:
4+
Version: 0.1.0
5+
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
6+
7+
on:
8+
push:
9+
branches:
10+
- master
11+
12+
jobs:
13+
publish-and-deploy:
14+
runs-on: ubuntu-latest
15+
if: github.repository_owner == 'ant-design-blazor'
16+
17+
steps:
18+
- name: Checkout 🛎️
19+
uses: actions/checkout@v2
20+
with:
21+
persist-credentials: false
22+
23+
- name: Setup .NET Core
24+
uses: actions/setup-dotnet@v1
25+
with:
26+
dotnet-version: 3.1.300
27+
28+
- name: Publish Docs 🎉
29+
run: |
30+
cd ./src/AntDesign.Charts.Docs.WebAssembly/wwwroot
31+
cp -rf gh-pages/* gh-pages/.nojekyll gh-pages/.spa ./
32+
cd ../../../
33+
dotnet build
34+
dotnet publish -c Release -o cargo
35+
36+
- name: Deploy 🚀
37+
uses: JamesIves/github-pages-deploy-action@releases/v3
38+
with:
39+
ACCESS_TOKEN: ${{ secrets.GH_PUSH_TOKEN }}
40+
BRANCH: gh-pages
41+
FOLDER: cargo/wwwroot
42+
43+
- name: Package Nightly Nuget 📦
44+
run: |
45+
SUFFIX=`date "+%y%m%d%H%M%S"`
46+
dotnet pack src/AntDesign.Charts/AntDesign.Charts.csproj /p:PackageVersion=$Version-nightly-${SUFFIX} -c Release -o publish --no-build --no-restore
47+
48+
- name: Publish to Nuget ✔
49+
run: |
50+
dotnet nuget push publish/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate

0 commit comments

Comments
 (0)