Add tests and docs for comparing different version formats #23
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: build | |
| on: | |
| release: | |
| types: [created] | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Install dependencies | |
| run: dotnet restore src\System.StringVersion\System.StringVersion.csproj | |
| - name: Build | |
| run: dotnet build src\System.StringVersion\System.StringVersion.csproj --configuration Release --no-restore | |
| - name: Pack | |
| run: dotnet pack src\System.StringVersion\System.StringVersion.csproj -c Release --no-build -o out | |
| - name: Push NuGet package | |
| # run: dotnet nuget push "out\*.nupkg" -k ${{secrets.NUGET_AUTH_TOKEN}} --source https://api.nuget.org/v3/index.json | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: nuget-packages | |
| path: out/*.nupkg |