Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
8c7368e
Added more fullSchema tests for classes and structs
Lanayx May 10, 2020
ab9c1cc
Merge pull request #3 from Lanayx/master
eaba May 10, 2020
890ac6e
release
eaba May 10, 2020
0ff1342
Merge branch 'master' of https://github.com/eaba/SchemaGenerator
eaba May 10, 2020
30dd557
Update README.md
eaba May 11, 2020
337de71
Merge branch 'master' of https://github.com/eaba/SchemaGenerator
eaba May 11, 2020
131cbb3
Fixes
eaba May 11, 2020
0ee7676
Update README.md
eaba May 11, 2020
9cee426
Update README.md
eaba May 11, 2020
f15c529
Release
eaba May 11, 2020
c5a7a1f
Merge branch 'master' of https://github.com/eaba/SchemaGenerator
eaba May 11, 2020
41d2f37
Added link in StackOverFlow Exception message
eaba May 11, 2020
8b2d6db
Support Recursive array
eaba May 11, 2020
0161190
Release
eaba May 11, 2020
867917a
link
eaba May 11, 2020
2790a84
Update README.md
eaba May 11, 2020
4f21a52
Update README.md
eaba May 11, 2020
9d97782
[WIP] Recursive Schema
eaba May 12, 2020
c39b59b
Update README.md
eaba May 13, 2020
28e0413
Update README.md
eaba May 13, 2020
38344cf
Support Recursive Schema
eaba May 13, 2020
b0c0eb4
remove lock to allow concurrency
eaba May 13, 2020
abc6914
Removed lock release
eaba May 13, 2020
2f769c5
Fixed missing recursive check for Dictionary
eaba May 13, 2020
7d2a25f
1.5.2
eaba May 13, 2020
620ed9b
Renaming
eaba May 18, 2020
8b108ab
Perf
eaba May 22, 2020
23ac2a2
Logo
eaba May 27, 2020
b8c227b
User Defined Enums
eaba Jun 20, 2020
fd578fa
1.5.4
eaba Jun 21, 2020
8a6789d
[WIP] Aliases
eaba Jun 25, 2020
d60d226
Values
eaba Jun 25, 2020
6435f8b
Aliases
eaba Jun 26, 2020
d6ef0c2
Update README.md
eaba Jun 26, 2020
8876d64
Merge branch 'master' of https://github.com/eaba/SchemaGenerator
eaba Jun 26, 2020
07fb161
Separate Test for List and Dictionary
eaba Jun 26, 2020
5cc0c66
[#4] 1.6.0
eaba Jun 26, 2020
cf0e938
Ignore
eaba Oct 30, 2020
292f110
More ignore test
eaba Oct 30, 2020
14a4ee5
Update package references
eaba Oct 30, 2020
786313d
release 1.7.0
eaba Nov 4, 2020
f47b8f2
Exclude static fields from generated Avro Schema + tests
cakewineclimbingpig Dec 9, 2020
5824679
Merge pull request #7 from richardwilko/exclude_static_fields
eaba Dec 10, 2020
9b55036
Release 1.8.0
eaba Dec 10, 2020
8872011
setup ci
eaba Apr 10, 2021
1ffbdb0
Fix nuke test
eaba Apr 10, 2021
16d299a
[WIP] Support Logical Types
eaba Apr 10, 2021
b7975e4
Beta
eaba Apr 11, 2021
cf8456f
Update references
eaba Apr 11, 2021
00ec94e
WIP
eaba Apr 11, 2021
a5bdca6
Avro Infinite Recursion
eaba Apr 12, 2021
cc8598f
Recursive NestedSchema
eaba Apr 12, 2021
9915309
fixes
eaba Apr 13, 2021
292106d
Assembly version
eaba Apr 13, 2021
420d68f
Update assembly version
eaba Apr 13, 2021
3e2fe19
Update
eaba Apr 13, 2021
8b3478c
* Fix test
eaba Apr 13, 2021
17ae059
Time Logical Types
eaba Apr 13, 2021
fa65d51
use Apache Avro official package
eaba Apr 13, 2021
d3391fb
Merge branch 'dev' into nested_schema_with_official_avro_package
eaba Apr 13, 2021
c6dfbb9
Merge pull request #11 from eaba/nested_schema_with_official_avro_pac…
eaba Apr 13, 2021
fe2ccd7
Skip Tests due to Stack overflow exception in Apache Avro
eaba Apr 13, 2021
e50b8e2
Merge pull request #12 from eaba/nested_schema_with_official_avro_pac…
eaba Apr 13, 2021
03889c0
Disable SetInformationalVersion
eaba Apr 13, 2021
ac6aa54
Delete comma
eaba Apr 13, 2021
6c90351
Don't push nuget to github
eaba Apr 13, 2021
23a8aa9
Update readme
eaba Apr 14, 2021
f70c124
Add more detail to LogicalTypeKind exceptions
eaba Apr 14, 2021
4ffd149
Merge pull request #13 from eaba/dev
eaba Apr 14, 2021
62ebaf4
Update Build.cs
eaba Apr 14, 2021
d2abde6
adds support for recursive depndencies
Sep 6, 2021
93b8d94
Merge pull request #14 from AndriiPpoliukhovychIntelcomexpress/dev
eaba Sep 9, 2021
5fde840
2.0 beta
eaba Sep 9, 2021
69583b2
Merge pull request #15 from eaba/2_0
eaba Sep 9, 2021
33787e9
Merge branch 'main' into dev
eaba Sep 10, 2021
65ab34e
Release 2.0
eaba Sep 10, 2021
f8e151c
Fix dictionary
eaba Sep 11, 2021
b44a831
Merge pull request #17 from eaba/2_0
eaba Sep 11, 2021
bd00ae7
Merge pull request #18 from eaba/dev
eaba Sep 11, 2021
8e014a6
Add enum type support.
RobertIndie Sep 13, 2021
7ac0d97
Fix unit tests.
RobertIndie Sep 13, 2021
065f60b
Merge pull request #19 from RobertIndie/enum-type
eaba Sep 13, 2021
01509ca
Add list, dictionary type support
eaba Sep 13, 2021
9323508
Merge pull request #20 from eaba/add_more_types_support
eaba Sep 13, 2021
16a3cf3
Merge pull request #21 from eaba/dev
eaba Sep 13, 2021
d760890
Ignore the namespace is null
nodece Sep 14, 2021
0b4e040
Merge pull request #22 from nodece/dev
eaba Sep 14, 2021
9ac42f1
Ignore the namespace is null
eaba Sep 14, 2021
f501683
Changed build
eaba Sep 14, 2021
aaf7a26
Merge pull request #23 from eaba/add_more_types_support
eaba Sep 14, 2021
071ca19
Merge pull request #24 from eaba/dev
eaba Sep 15, 2021
d2b4638
Fix wrong version in nuget
eaba Sep 15, 2021
17ac757
Fix test
eaba Sep 15, 2021
4c821c2
Fix wrong file version
eaba Sep 15, 2021
123fa00
remove packageid
eaba Sep 15, 2021
65689c0
Wrong beta version
eaba Sep 15, 2021
8b0760c
Separate Beta targets
eaba Sep 15, 2021
7590cc2
Remove betacompile
eaba Sep 15, 2021
ae63c00
Fix beta version issue
eaba Sep 15, 2021
a2b8353
Merge pull request #32 from eaba/dev
eaba Sep 15, 2021
60dab69
Fix issue with aliased schema
eaba Sep 28, 2021
b1ece8e
Merge pull request #34 from eaba/2.4.0
eaba Sep 28, 2021
c0b9dfa
Merge pull request #36 from eaba/dev
eaba Sep 28, 2021
6cebe96
Updated Avro 1.11.0 which has fix for stackoverflow exception
eaba Oct 27, 2021
937350c
Merge pull request #37 from eaba/2.4.1
eaba Oct 27, 2021
2122786
Merge pull request #38 from eaba/dev
eaba Oct 27, 2021
20c39ee
Start .NET 6 SUPPORT
eaba Dec 25, 2021
4ccd9d6
Fix SDK
eaba Dec 26, 2021
62986d9
Fix SDK
eaba Dec 26, 2021
88311e6
Build .NET 6
eaba Dec 26, 2021
68aa95b
Release 2.5.0
eaba Dec 26, 2021
735a214
Merge pull request #39 from eaba/dev
eaba Dec 26, 2021
1e2934b
Fix github action
eaba Dec 26, 2021
2a365c7
* Add README with nuget package
eaba Jan 13, 2022
6f0121a
Revert - Install SDKs
eaba Jan 13, 2022
e3d7976
Merge pull request #41 from eaba/readme
eaba Jan 13, 2022
a5db557
added IEnumerable<> as list type
Jan 13, 2022
a5531fa
Merge pull request #42 from eaba/dev
eaba Jan 13, 2022
15dfee1
Test
eaba Jan 13, 2022
b4ec720
update fw
eaba Jan 13, 2022
e8cee02
net6.0
eaba Jan 13, 2022
1b7eb26
After(Compile)
eaba Jan 14, 2022
80c35b3
cache package.json"
eaba Jan 14, 2022
35f2041
Update cachekey
eaba Jan 14, 2022
bb8c0e9
GITHUB_CONTEXT
eaba Jan 14, 2022
2df99af
DotNetVerbosity.Detailed
eaba Jan 14, 2022
808bb76
netcore
eaba Jan 14, 2022
e13e2e0
try catch error
eaba Jan 14, 2022
abaff2a
Restore
eaba Jan 14, 2022
643feb5
net6.0
eaba Jan 14, 2022
79a3ebe
AssemblyInfo
eaba Jan 14, 2022
d957c2c
CustomGitHubActions
eaba Jan 14, 2022
0e54d8c
Handle exception
eaba Jan 14, 2022
4238bbb
Finalize CHANGELOG.md for 2.5.2-Alpha.1.
eaba Jan 16, 2022
81a6614
Improved CI
eaba Jan 16, 2022
a6bb7ad
Alpha
eaba Jan 16, 2022
4ff02fd
Add cancel job
eaba Jan 16, 2022
621109a
PR against alpha
eaba Jan 16, 2022
f2ec5d8
Add more branches
eaba Jan 16, 2022
e398360
Merge pull request #47 from eaba/Test
eaba Jan 16, 2022
d492f62
Clean up
eaba Jan 16, 2022
e12b295
Merge pull request #48 from eaba/alpha
eaba Jan 16, 2022
6890551
Merge pull request #49 from eaba/beta
eaba Jan 16, 2022
d7f19ca
Merge pull request #50 from eaba/dev
eaba Jan 16, 2022
c184dff
Alpha release
eaba Jan 16, 2022
4f5dd4b
Correct nuget package directory
eaba Jan 16, 2022
9eebd75
Merge pull request #51 from eaba/alpha_2
eaba Jan 16, 2022
f938a8f
Merge pull request #52 from eaba/alpha
eaba Jan 16, 2022
e353898
on [push]
eaba Jan 16, 2022
4d0392f
change `master` to `main` branch
eaba Jan 16, 2022
deebab4
limit to main and dev
eaba Jan 16, 2022
86b89f0
Merge pull request #55 from eaba/alpha_2
eaba Jan 16, 2022
a3581f1
.......
eaba Jan 16, 2022
e1aefed
Merge pull request #56 from eaba/alpha_2
eaba Jan 16, 2022
38c3830
Merge pull request #43 from ThomasHarzer/add_ienumerable_support
eaba Feb 20, 2022
1bd1be9
Delete execlude paths config [ci skip]
eaba Feb 20, 2022
66921ec
Add netstandard frameworks support [ci skip]
eaba Feb 20, 2022
432adc5
Prepare 2.5.2 release notes [ci skip]
eaba Feb 20, 2022
a4480a8
Fix release process [ci skip]
eaba Feb 20, 2022
b79f5ed
Add dependence on `RunChangeLog` [ci skip]
eaba Feb 20, 2022
b7e7071
Bump version number
eaba Feb 20, 2022
44fbc78
[ci skip]
eaba Feb 20, 2022
78e3d97
Merge pull request #65 from eaba/dev
eaba Feb 20, 2022
32b9210
Delete unused secrets [ci skip]
eaba Feb 20, 2022
3a9ca0e
Merge pull request #66 from eaba/dev
eaba Feb 20, 2022
4eeda7a
Remove -s switch
eaba Feb 20, 2022
45736ed
Remove spacing [ci skip]
eaba Feb 20, 2022
b38fc34
Merge pull request #67 from eaba/dev
eaba Feb 20, 2022
f0a325a
Finalize CHANGELOG.md for 2.6.0.
eaba Feb 20, 2022
9b623b1
Update release notes
eaba Feb 20, 2022
e064520
Use DependOn instead After
eaba Feb 20, 2022
81272d5
Add Custom AVRO definition support.
RobertIndie Jul 14, 2022
884b505
Merge pull request #71 from RobertIndie/custom-avro
eaba Jul 19, 2022
35d901a
2.7.0
eaba Jul 20, 2022
1e1ca97
2.7.0
eaba Jul 20, 2022
cad08ba
Release Notes
eaba Jul 20, 2022
03159fb
workflows [ci skip]
eaba Jul 20, 2022
947601c
Merge pull request #72 from eaba/dev
eaba Jul 20, 2022
29d0c82
GitVersion
eaba Jul 20, 2022
b840293
2.7.0
eaba Jul 20, 2022
0b62a6f
Merge pull request #73 from eaba/main [ci skip]
eaba Jul 20, 2022
ba622ef
Fixed that the same enum can be used multiple times in the schema
Dec 20, 2022
11785b7
Merge pull request #74 from danny-krueger/bugfix/use-enum-multiple-times
eaba Dec 24, 2022
9c9c363
Update .NET 7
eaba Dec 24, 2022
c846a00
ChangeLog
eaba Dec 24, 2022
42eac3d
Merge pull request #75 from eaba/dev
eaba Dec 24, 2022
d94f097
2.8.0
eaba Dec 24, 2022
3bd668e
Merge pull request #76 from eaba/dev
eaba Dec 24, 2022
4d42152
Merge pull request #77 from eaba/main
eaba Dec 24, 2022
7ecacdd
next-version: 2.8.0
eaba Dec 24, 2022
02fb2ec
Merge pull request #78 from eaba/dev
eaba Dec 24, 2022
2ecc3e3
fixed next-version
eaba Dec 24, 2022
320f4f6
Merge pull request #79 from eaba/main
eaba Dec 24, 2022
ef39610
[fix] breaking change
eaba Jan 9, 2023
89f71a8
fixed
eaba Jan 9, 2023
31fd699
Merge pull request #81 from eaba/netstandard
eaba Jan 9, 2023
ad85fce
[ci skip]
eaba Jan 9, 2023
f0f723c
[ci skip]
eaba Jan 9, 2023
11a4d0b
ci skip
eaba Jan 9, 2023
e31fa9d
Merge pull request #83 from eaba/dev
eaba Jan 9, 2023
a8592a5
fix
eaba Jan 9, 2023
488bcbb
[ci skip]
eaba Jan 9, 2023
99c176d
Merge pull request #84 from eaba/dev
eaba Jan 9, 2023
df260a8
[ci skip] I beg you .NET 7 only
eaba Jan 9, 2023
98da3b1
Add support for Guid type
Feb 3, 2023
a4cd225
Merge pull request #85 from addisonj/guid_type_support
eaba Feb 3, 2023
2f14a00
[ci skip] vNext
eaba Feb 4, 2023
2f61849
[ci skip] `RunChangelog`
eaba Feb 4, 2023
d671659
[ci skip] Changes
eaba Feb 4, 2023
22fa64c
Merge pull request #86 from eaba/dev
eaba Feb 4, 2023
3849218
[ci skip] // Force CHANGELOG.md in case it skipped the mind
eaba Feb 4, 2023
299b63d
Merge pull request #87 from eaba/dev
eaba Feb 4, 2023
27f9170
Merge pull request #88 from eaba/main
eaba Feb 4, 2023
b2db751
Merge pull request #89 from eaba/dev
eaba Feb 4, 2023
fb51c61
[ci skip]
eaba Feb 4, 2023
966402d
[fix] CHANGELOG
eaba Feb 4, 2023
d5d0853
Merge pull request #91 from eaba/main
eaba Feb 4, 2023
8d8b763
[ci skip] `GitVersion`
eaba Feb 4, 2023
8e802fd
License
eaba Mar 16, 2023
db65781
package License
eaba Mar 19, 2023
f670cae
Finalize ChangelogFile 2.9.1
eaba Mar 19, 2023
b01cf53
update gitversion
eaba Mar 19, 2023
67c7cbd
fix
eaba Mar 19, 2023
03941cb
fix
eaba Mar 19, 2023
4150e56
Merge pull request #94 from eaba/main
eaba Mar 19, 2023
45c8071
update
eaba Mar 19, 2023
81f49d1
update
eaba Mar 19, 2023
c999153
Improve
eaba Mar 19, 2023
f2b199f
2.9.2
eaba Jul 10, 2023
da20a39
fix
eaba Jul 10, 2023
2c2650b
Finalize CHANGELOG.md for 2.9.2
eaba Jul 10, 2023
1c9509f
v2.9.2
eaba Jul 10, 2023
744989b
fixes
eaba Jul 10, 2023
87f7b8d
Added NET8.0
eaba Nov 14, 2023
4861b81
Updates
eaba Dec 16, 2023
26e8eac
Update GitVersion.Tool v5.12.0
eaba Dec 16, 2023
7110915
Added `dotnet-version 8`
eaba Dec 16, 2023
91a1102
Merge pull request #96 from Sharp-Pulsar/NET8
eaba Dec 16, 2023
5d910eb
v2.10.0
eaba Dec 16, 2023
9c5bb3d
#97 Make dependencies conditional
thompson-tomo Apr 6, 2024
32457c9
Bump System.Text.Json from 8.0.0 to 8.0.4 in /SchemaGenerator
dependabot[bot] Jul 9, 2024
9f93761
Merge pull request #98 from thompson-tomo/chore/#97_ConditionalPackages
eaba Oct 28, 2025
e635c61
Merge pull request #99 from Sharp-Pulsar/dependabot/nuget/SchemaGener…
eaba May 18, 2026
f44dbbf
Bump System.Text.Json from 8.0.4 to 8.0.5
dependabot[bot] May 18, 2026
fd65548
Merge pull request #101 from Sharp-Pulsar/dependabot/nuget/SchemaGene…
eaba May 20, 2026
24172e6
Update target frameworks to net8.0 only
eaba May 20, 2026
9731c25
Remove net7.0 from target frameworks
eaba May 20, 2026
91a696a
Merge pull request #105 from Sharp-Pulsar/eaba-patch-3
eaba May 20, 2026
b8596ad
Merge pull request #104 from Sharp-Pulsar/eaba-patch-2
eaba May 20, 2026
0dc898c
Merge branch 'main' into sync-upstream
RobertIndie Jun 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# EditorConfig is awesome:http://EditorConfig.org

# top-most EditorConfig file
root = true

# Don't use tabs for indentation.
[*]
indent_style = space
# (Please don't specify an indent_size here; that has too many unintended consequences.)

# Code files
[*.{cs,csx}]
indent_size = 4

# Xml project files
[*.{csproj}]
indent_size = 2

# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2

# JSON files
[*.json]
indent_size = 2

# proto
[*.proto]
indent_size = 2

# Dotnet code style settings:
[*.{cs}]
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true
# Avoid "this." and "Me." if not necessary
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion

# Use language keywords instead of framework type names for type references
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion

# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion

# CSharp code style settings:
[*.cs]
# Prefer "var" everywhere
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion

# Prefer method-like constructs to have a block body
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_expression_bodied_operators = false:none

# Prefer property-like constructs to have an expression-body
csharp_style_expression_bodied_properties = true:none
csharp_style_expression_bodied_indexers = true:none
csharp_style_expression_bodied_accessors = true:none

# Suggest more modern language features when available
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion

# Newline settings
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
85 changes: 85 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [CustomGitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_Build --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------

name: Build

on:
push:
branches:
- main
- dev
- alpha
- beta
paths:
- '!docs/**/*'
- '!package.json'
- '!README.md'
pull_request:
branches:
- main
- dev
- alpha
- beta

jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.*
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.*
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('global.json', 'SchemaGenerator/**/*.csproj') }}
- name: 'Run: Compile'
run: ./build.cmd Compile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.*
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.*
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('global.json', 'SchemaGenerator/**/*.csproj') }}
- name: 'Run: Compile'
run: ./build.cmd Compile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/Cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Cancel
on: [push]
jobs:
cancel:
name: 'Cancel Previous Runs'
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/cancel-workflow-action@0.7.0
with:
workflow_id: 5724590,5725340
access_token: ${{ github.token }}
49 changes: 49 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [CustomGitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_Release --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------

name: Release

on:
push:
tags:
- '*'

jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.*
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.*
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('global.json', 'SchemaGenerator/**/*.csproj') }}
- name: 'Run: Release'
run: ./build.cmd Release
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77 changes: 77 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [CustomGitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_Tests --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------

name: Tests

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.*
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.*
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('global.json', 'SchemaGenerator/**/*.csproj') }}
- name: 'Run: Test'
run: ./build.cmd Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.*
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.*
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('global.json', 'SchemaGenerator/**/*.csproj') }}
- name: 'Run: Test'
run: ./build.cmd Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading
Loading