Skip to content

Initial 5.4.0

Initial 5.4.0 #116

name: build-test-publish
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install PosgtreSQL
uses: vb-consulting/postgresql-action@v1
with:
postgresql version: '11' # See https://hub.docker.com/_/postgres for available versions
postgresql user: 'norm_postgresql_unit_tests_user'
postgresql password: 'norm_postgresql_unit_password'
- name: Install SQL Server
uses: vb-consulting/[email protected]
with:
accept eula: Y #Required, ACCEPT_EULA confirms your acceptance of the End-User Licensing Agreement.
- uses: actions/checkout@v2
- name: Setup .NET7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity m
- name: Publish
run: dotnet nuget push **\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate