Skip to content

Add Support for money Store Type in Data Annotations #650

Add Support for money Store Type in Data Annotations

Add Support for money Store Type in Data Annotations #650

Workflow file for this run

name: CLI Tool
on:
workflow_dispatch:
push:
paths-ignore:
- '**/*'
- '!.github/workflows/cli-tool.yml'
- '!src/Core/**/*'
branches:
- 'master'
pull_request:
branches:
- '*'
env:
VERSION: ${{ github.run_number }}
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.100'
- name: Build CLI 8
run: dotnet build src\Core\efcpt.8\efcpt.8.csproj
- name: Build CLI 9
run: dotnet build src\Core\efcpt.9\efcpt.9.csproj
- name: Package CLI 8
if: startsWith(github.ref, 'refs/heads/master')
run: dotnet pack src\Core\efcpt.8\efcpt.8.csproj -p:PackageVersion=8.1.${{ env.VERSION }}-nightly -p:InformationalVersion=8.1.${{ env.VERSION }}-nightly
- name: Package CLI 9
if: startsWith(github.ref, 'refs/heads/master')
run: dotnet pack src\Core\efcpt.9\efcpt.9.csproj -p:PackageVersion=9.1.${{ env.VERSION }}-nightly -p:InformationalVersion=9.1.${{ env.VERSION }}-nightly
- name: Core test project
run: dotnet test src\Core\NUnitTestCore\NUnitTestCore.csproj
continue-on-error: false
- name: Publish NuGet
if: startsWith(github.ref, 'refs/heads/master')
run: dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{ secrets.NUGET }} --skip-duplicate