Working on adding xml whitespace ignore. (#1794) #859
This file contains hidden or 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 Nuget | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: test | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-dotnet@v3 | |
| - run: > | |
| dotnet build CSharpier.slnx -c release -p:TreatWarningsAsErrors=true | |
| publish-nuget: | |
| runs-on: ubuntu-latest | |
| name: publish nuget | |
| needs: test | |
| env: | |
| VERSION_FILE_PATH: Nuget/Build.props | |
| NUGET_KEY: ${{secrets.NUGET_API_KEY}} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-dotnet@v3 | |
| - name: Publish CSharpier.Core library on version change | |
| uses: alirezanet/publish-nuget@v3.1.0 | |
| with: | |
| PROJECT_FILE_PATH: Src/CSharpier.Core/CSharpier.Core.csproj | |
| TAG_FORMAT: "*" | |
| - name: Publish CSharpier dotnet tool on version change | |
| uses: alirezanet/publish-nuget@v3.1.0 | |
| with: | |
| PACKAGE_NAME: CSharpier | |
| PROJECT_FILE_PATH: Src/CSharpier.Cli/CSharpier.Cli.csproj | |
| TAG_FORMAT: "*" | |
| - name: Publish CSharpier.MsBuild library on version change | |
| uses: alirezanet/publish-nuget@v3.1.0 | |
| with: | |
| PROJECT_FILE_PATH: Src/CSharpier.MsBuild/CSharpier.MsBuild.csproj | |
| TAG_FORMAT: "*" |