File tree Expand file tree Collapse file tree 4 files changed +29
-9
lines changed
Expand file tree Collapse file tree 4 files changed +29
-9
lines changed Original file line number Diff line number Diff line change 22
33# CA1416: Validate platform compatibility
44dotnet_diagnostic.CA1416.severity = silent
5+
6+ # Indentation and spacing
7+ indent_size = 4
8+ indent_style = space
9+ tab_width = 4
Original file line number Diff line number Diff line change 99 name : Build Mod
1010 runs-on : ubuntu-latest
1111 env :
12- MODKIT_VERSION : 0.11.0.2 -beta-release-707
12+ MODKIT_VERSION : 0.11.1.1 -beta-release-758
1313 ECO_BRANCH : staging
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
1616 - name : Setup .NET Core 7.0
1717 uses : actions/setup-dotnet@v1
1818 with :
2323 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT : 1
2424 - name : Cache Eco dlls
2525 id : cache-eco-dlls
26- uses : actions/cache@v2
26+ uses : actions/cache@v4
2727 with :
2828 path : ./eco-dlls
2929 key : ${{ env.MODKIT_VERSION }}-ref-dlls
3535 env :
3636 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT : 1
3737 - name : Upload build artifact
38- uses : actions/upload-artifact@v2
38+ uses : actions/upload-artifact@v4
3939 with :
4040 name : mod-binaries-${{github.event.release.tag_name}}
4141 path : EcoLawExtensionsMod/bin/Release/net7.0/EcoLawExtensionsMod.*
4747 steps :
4848 - name : Download build artifact (mod)
4949 id : download-mod
50- uses : actions/download-artifact@v2
50+ uses : actions/download-artifact@v4
5151 with :
5252 name : mod-binaries-${{github.event.release.tag_name}}
5353 - name : Upload release asset (mod)
Original file line number Diff line number Diff line change 77
88jobs :
99 build-mod :
10+ name : Build Mod
1011 runs-on : ubuntu-latest
1112 env :
12- MODKIT_VERSION : 0.11.0.2 -beta-release-707
13+ MODKIT_VERSION : 0.11.1.1 -beta-release-758
1314 ECO_BRANCH : staging
1415 steps :
15- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1617 - name : Setup .NET Core 7.0
1718 uses : actions/setup-dotnet@v1
1819 with :
2324 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT : 1
2425 - name : Cache Eco dlls
2526 id : cache-eco-dlls
26- uses : actions/cache@v2
27+ uses : actions/cache@v4
2728 with :
2829 path : ./eco-dlls
2930 key : ${{ env.MODKIT_VERSION }}-ref-dlls
3536 env :
3637 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT : 1
3738 - name : Upload build artifact
38- uses : actions/upload-artifact@v2
39+ uses : actions/upload-artifact@v4
3940 with :
4041 name : mod-binaries-staging
4142 path : EcoLawExtensionsMod/bin/Release/net7.0/EcoLawExtensionsMod.*
Original file line number Diff line number Diff line change 1+ namespace Eco . Mods . LawExtensions
2+ {
3+ using Core . Plugins . Interfaces ;
4+
5+ public class LawExtensionsMod : IModInit
6+ {
7+ public static ModRegistration Register ( ) => new ( )
8+ {
9+ ModName = "LawExtensions" ,
10+ ModDescription = "Extends the law system with a number of helpful utility game values and legal actions." ,
11+ ModDisplayName = "Law Extensions" ,
12+ } ;
13+ }
14+ }
You can’t perform that action at this time.
0 commit comments