Skip to content

Commit c635231

Browse files
committed
Created GitHub action
1 parent db81b62 commit c635231

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

.github/workflows/dotnet-core.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: .NET Core
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: set version
18+
run: echo "VERSIONNR=$(date +'1.%Y.%m%d').$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
19+
- name: Setup .NET Core
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: 3.1.301
23+
- name: Install dependencies
24+
run: dotnet restore
25+
- name: Build
26+
run: dotnet build --configuration Release --no-restore /p:VersionPrefix=$VERSIONNR
27+
#- name: Test
28+
# run: dotnet test --no-restore --verbosity normal
29+
- name: Pack
30+
run: dotnet pack --configuration Release --no-restore /p:VersionPrefix=$VERSIONNR

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SourceCodeGenerators
22

3-
This repository contains a set of Code generators, see bekow.
3+
This repository contains a set of Code generators, see below.
44

55

66
## General Usage

SourceGenerator/SourceGenerator.csproj

+17
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,23 @@
88
<Nullable>enable</Nullable>
99
</PropertyGroup>
1010

11+
<PropertyGroup>
12+
<PackageId>JziSourceLoggers</PackageId>
13+
<Version>0.0.1</Version>
14+
<Authors>Jan Zieschang</Authors>
15+
<Company>Private</Company>
16+
<PackageTags>Source Code Generatory;Zieschang;Code;Generator;Analyzer;FIX;INotify;ViewModel</PackageTags>
17+
<Description>
18+
This is a set of Source Code Generators to be used/referenced in other projects. There are
19+
currently 2 generators implemented.
20+
21+
* AutoNotifyGenerators (MS Sample modified) - Auto implement INotifyProperyChange for fields and class.
22+
* FixXmlEnumConverter - generate enums from FIX xml definition
23+
24+
Please see https://github.com/jzi96/SourceCodeGenerators/blob/main/README.md for more details.
25+
</Description>
26+
</PropertyGroup>
27+
1128
<ItemGroup>
1229
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.1">
1330
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)