fix CSSObject array merge error when key is the same. #27
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 Package | |
env: | |
Version: 0.1.0 | |
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}} | |
on: | |
push: | |
branches: | |
- main | |
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: 5.0.100 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.101 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.100 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.100 | |
- name: Package Nightly Nuget 📦 | |
run: | | |
SUFFIX=`date "+%y%m%d%H%M%S"` | |
dotnet build src/CssInCSharp.csproj | |
dotnet pack src/CssInCSharp.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 |