Skip to content

Commit

Permalink
update readme and don't publish test results on main build
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Aug 6, 2023
1 parent 89aa603 commit 46c4380
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
test-results:
runs-on: ubuntu-latest
needs: build
if: success() || failure()
if: (success() || failure()) && env.BRANCH != 'main'
name: Publish Unit Test Results
steps:
- name: Download Artifacts
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
# echo "BUILD_STATUS=critical" >> $GITHUB_ENV
# fi
# - name: Create test results badge
# if: env.BRANCH == 'master'
# if: env.BRANCH == 'main'
# uses: schneegans/dynamic-badges-action@v1.0.0
# with:
# auth: ${{ secrets.TEST_BADGE_KEY }}
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[![Build & Test](https://github.com/gregsdennis/openapi/actions/workflows/dotnet-core.yml/badge.svg?branch=master&event=push)](https://github.com/gregsdennis/openapi/actions/workflows/dotnet-core.yml)
[![Build & Test](https://github.com/gregsdennis/openapi/actions/workflows/dotnet-core.yml/badge.svg?branch=main&event=push)](https://github.com/gregsdennis/openapi/actions/workflows/dotnet-core.yml)
<!-- [![Test results](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/gregsdennis/28607f2d276032f4d9a7f2c807e44df7/raw/test-results-badge.json)](https://github.com/gregsdennis/json-everything/actions?query=workflow%3A%22Build+%26+Test%22) -->
[![Percentage of issues still open](http://isitmaintained.com/badge/open/gregsdennis/openapi.svg)](http://isitmaintained.com/project/gregsdennis/openapi "Percentage of issues still open")
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/gregsdennis/openapi.svg)](http://isitmaintained.com/project/gregsdennis/openapi "Average time to resolve an issue")
[![License](https://img.shields.io/github/license/gregsdennis/openapi)](https://github.com/gregsdennis/openapi/blob/main/LICENSE)

# STJ.OpenApi.Models

![](https://img.shields.io/nuget/vpre/STJ.OpenApi.Models.svg?svg=true)
![](https://img.shields.io/nuget/dt/STJ.OpenApi.Models.svg?svg=true)
[![](https://img.shields.io/nuget/vpre/STJ.OpenApi.Models.svg?svg=true) ![](https://img.shields.io/nuget/dt/STJ.OpenApi.Models.svg?svg=true)](https://www.nuget.org/packages/STJ.OpenAPI.Models)

OpenAPI models for System.Text.Json. Supports specification versions v3.0.x & v3.1.

Expand Down

0 comments on commit 46c4380

Please sign in to comment.