Skip to content

Commit

Permalink
Merge pull request #64 from VaclavElias/main
Browse files Browse the repository at this point in the history
feat: GitHub Actions updated
  • Loading branch information
VaclavElias authored Nov 18, 2023
2 parents 7f445dc + e090b6d commit 521431f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: .NET Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Set Version in csproj
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: .NET Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore ${{ env.PROJECT_PATH }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.x
dotnet-version: 8.x

- name: Checkout Stride Community Toolkit
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion examples/code-only/Example_CubicleCalamity/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public static class Constants
public const float Interval = 0.33f;
public const int MaxLayers = 10;
public const int Rows = 10;
public static readonly List<Color> Colours = new() { Color.Red, Color.Green, Color.Blue };
public static readonly List<Color> Colours = new() { Color.Red, Color.Green, Color.Blue, Color.DarkGoldenrod };
public static readonly Vector3 CubeSize = new(0.5f);
}
12 changes: 4 additions & 8 deletions examples/code-only/Example_CubicleCalamity/CubeStacker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,28 +138,24 @@ public static void SetupLighting(Scene scene)
Color = GetColor(new(0.2f, 0.2f, 0.2f))
}, 1f, new Vector3(0, 20, 0));

CreateLight(new LightPoint
CreateLight(new LightDirectional
{
Color = GetColor(new(1f, 1f, 1f)),
Radius = 100f,
}, 100f, new Vector3(-20f, 5f, -20f));

CreateLight(new LightPoint
CreateLight(new LightDirectional
{
Color = GetColor(new(1f, 1f, 1f)),
Radius = 100f,
}, 100f, new Vector3(20f, 5f, 20f));

CreateLight(new LightPoint
CreateLight(new LightDirectional
{
Color = GetColor(new(1f, 1f, 1f)),
Radius = 100f,
}, 100f, new Vector3(-20f, 5f, 20f));

CreateLight(new LightPoint
CreateLight(new LightDirectional
{
Color = GetColor(new(1f, 1f, 1f)),
Radius = 100f,
}, 100f, new Vector3(20f, 5f, -20f));

static ColorRgbProvider GetColor(Color color) => new(color);
Expand Down
2 changes: 1 addition & 1 deletion src/CommonSettings.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Version>1.0.0.0</Version>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Authors>Stride Contributors</Authors>
<Description>Collection of helpers and extensions for Stride Game Engine developers. Simplifies and demonstrates common developer tasks building experiences for Stride with .NET.</Description>
<Description>Collection of helpers and extensions for Stride Game Engine developers. Simplifies and demonstrates common developer tasks building experiences for Stride with .NET 8.</Description>
<PackageProjectUrl>https://stride3d.github.io/stride-community-toolkit/index.html</PackageProjectUrl>
<RepositoryUrl>https://github.com/stride3d/stride-community-toolkit</RepositoryUrl>
<PackageTags>Stride;3D;2D;gamedev;Game Engine;engine;games;CSharp</PackageTags>
Expand Down

0 comments on commit 521431f

Please sign in to comment.