Fixed column chart reports an error when the data is empty (#127) #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docs | |
env: | |
Version: 0.2.0 | |
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}} | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish-and-deploy: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'ant-design-blazor' | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.x | |
- name: Publish Docs 🎉 | |
run: | | |
cd ./src/AntDesign.Charts.Docs.WebAssembly/wwwroot | |
cp -rf gh-pages/* gh-pages/.nojekyll gh-pages/.spa ./ | |
cd ../../../ | |
dotnet build | |
dotnet publish -c Release -o cargo src/AntDesign.Charts.Docs.WebAssembly | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
ACCESS_TOKEN: ${{ secrets.GH_PUSH_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: cargo/wwwroot | |
- name: Package Nightly Nuget 📦 | |
run: | | |
SUFFIX=`date "+%y%m%d%H%M%S"` | |
dotnet pack src/AntDesign.Charts/AntDesign.Charts.csproj /p:PackageVersion=$Version-nightly-${SUFFIX} -c Release -o publish | |
- name: Publish to Nuget ✔ | |
run: | | |
dotnet nuget push publish/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate |