Skip to content

Commit a21aea2

Browse files
committed
Upgrade
1 parent c298104 commit a21aea2

25 files changed

+635
-236
lines changed

.github/workflows/dotnet.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,19 @@ jobs:
1818
with:
1919
dotnet-version: 10.0.x
2020

21-
- name: Install libgdiplus
22-
run: |
23-
sudo apt-get update
24-
sudo apt-get install -y libgdiplus
25-
sudo ln -sf /usr/lib/libgdiplus.so /usr/lib/gdiplus.dll
26-
2721
- name: Check Tag
2822
id: check-tag
2923
run: |
3024
if [[ v${{ github.event.ref }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
31-
echo ::set-output name=match::true
25+
echo "match=true" >> $GITHUB_OUTPUT
3226
fi
33-
27+
3428
- name: Run Unit Tests
3529
run: |
3630
dotnet restore
3731
dotnet build
3832
dotnet test test/NosCore.PathFinder.Tests -v m
39-
33+
4034
- name: Build Artifact
4135
if: steps.check-tag.outputs.match == 'true'
4236
id: build_artifact
@@ -45,23 +39,23 @@ jobs:
4539
dotnet build -c Release
4640
dotnet pack -c Release -o /tmp/nupkgs -v m -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
4741
dotnet nuget push /tmp/nupkgs/NosCore.PathFinder.${{github.event.ref}}.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}}
48-
echo ::set-output name=ARTIFACT_PATH::/tmp/nupkgs/NosCore.PathFinder.${{github.event.ref}}.nupkg
49-
echo ::set-output name=ARTIFACT_NAME::NosCore.PathFinder.${{github.event.ref}}.nupkg
50-
42+
echo "ARTIFACT_PATH=/tmp/nupkgs/NosCore.PathFinder.${{github.event.ref}}.nupkg" >> $GITHUB_OUTPUT
43+
echo "ARTIFACT_NAME=NosCore.PathFinder.${{github.event.ref}}.nupkg" >> $GITHUB_OUTPUT
44+
5145
- name: Gets Latest Release
5246
if: steps.check-tag.outputs.match == 'true'
5347
id: latest_release_info
5448
uses: jossef/action-latest-release-info@v1.1.0
5549
env:
5650
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
57-
51+
5852
- name: Upload Release Asset
5953
if: steps.check-tag.outputs.match == 'true'
6054
uses: actions/upload-release-asset@v1
6155
env:
6256
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
6357
with:
64-
upload_url: ${{ steps.latest_release_info.outputs.upload_url }}
58+
upload_url: ${{ steps.latest_release_info.outputs.upload_url }}
6559
asset_path: ${{ steps.build_artifact.outputs.ARTIFACT_PATH }}
6660
asset_name: ${{ steps.build_artifact.outputs.ARTIFACT_NAME }}
6761
asset_content_type: application/zip

NosCore.PathFinder.sln

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.28527.54
3+
# Visual Studio Version 18
4+
VisualStudioVersion = 18.2.11408.102 d18.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NosCore.PathFinder", "src\NosCore.PathFinder\NosCore.PathFinder.csproj", "{8DC7839A-EB02-4E71-95DC-2D2BD9651E19}"
77
EndProject
88
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NosCore.PathFinder.Tests", "test\NosCore.PathFinder.Tests\NosCore.PathFinder.Tests.csproj", "{BEEC67B8-A63B-43DE-87A5-73341AEFD62F}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NosCore.PathFinder.Benchmark", "test\NosCore.PathFinder.Benchmark\NosCore.PathFinder.Benchmark\NosCore.PathFinder.Benchmark.csproj", "{159A99CE-A97C-4215-8FA8-38BC7C8D382D}"
11-
EndProject
12-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
13-
EndProject
1410
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NosCore.PathFinder.Api", "src\NosCore.PathFinder.Api\NosCore.PathFinder.Api.csproj", "{6642B6A1-6EBE-4E38-A812-435286A0E04E}"
1511
EndProject
1612
Global
@@ -47,18 +43,6 @@ Global
4743
{BEEC67B8-A63B-43DE-87A5-73341AEFD62F}.Release|x64.Build.0 = Release|Any CPU
4844
{BEEC67B8-A63B-43DE-87A5-73341AEFD62F}.Release|x86.ActiveCfg = Release|Any CPU
4945
{BEEC67B8-A63B-43DE-87A5-73341AEFD62F}.Release|x86.Build.0 = Release|Any CPU
50-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
51-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Debug|Any CPU.Build.0 = Debug|Any CPU
52-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Debug|x64.ActiveCfg = Debug|Any CPU
53-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Debug|x64.Build.0 = Debug|Any CPU
54-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Debug|x86.ActiveCfg = Debug|Any CPU
55-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Debug|x86.Build.0 = Debug|Any CPU
56-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Release|Any CPU.ActiveCfg = Release|Any CPU
57-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Release|Any CPU.Build.0 = Release|Any CPU
58-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Release|x64.ActiveCfg = Release|Any CPU
59-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Release|x64.Build.0 = Release|Any CPU
60-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Release|x86.ActiveCfg = Release|Any CPU
61-
{159A99CE-A97C-4215-8FA8-38BC7C8D382D}.Release|x86.Build.0 = Release|Any CPU
6246
{6642B6A1-6EBE-4E38-A812-435286A0E04E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
6347
{6642B6A1-6EBE-4E38-A812-435286A0E04E}.Debug|Any CPU.Build.0 = Debug|Any CPU
6448
{6642B6A1-6EBE-4E38-A812-435286A0E04E}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -75,9 +59,6 @@ Global
7559
GlobalSection(SolutionProperties) = preSolution
7660
HideSolutionNode = FALSE
7761
EndGlobalSection
78-
GlobalSection(NestedProjects) = preSolution
79-
{6642B6A1-6EBE-4E38-A812-435286A0E04E} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
80-
EndGlobalSection
8162
GlobalSection(ExtensibilityGlobals) = postSolution
8263
SolutionGuid = {D9A2E4CB-2146-4D11-8C4B-3955720D5844}
8364
EndGlobalSection
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# NosCore.Pathfinder's Documentation
1+
# NosCore.Pathfinder's Documentation
22
## Brushfire
33
- Filename: brushfire.png
4-
- Checksum: 7dcc6fcc2533ffe40798dcd1771c3c1d28d10fdf10bed8a4b2cad8ef8bc4009b
4+
- Checksum: 29051db500b2fac5499053f08f66418ad3d6d43efb4af774d07e5ef6e0c9abaf
55
![brushfire](./brushfire.png)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NosCore.Pathfinder's Documentation
22
## Flow Field (Vector Field Pathfinding)
33
- Filename: flow-field.png
4-
- Checksum: 7dcc6fcc2533ffe40798dcd1771c3c1d28d10fdf10bed8a4b2cad8ef8bc4009b
4+
- Checksum: 29051db500b2fac5499053f08f66418ad3d6d43efb4af774d07e5ef6e0c9abaf
55
![brushfire](./flow-field.png)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NosCore.Pathfinder's Documentation
22
## Flow Field Path (Monster following vectors to Player)
33
- Filename: flow-field-path.png
4-
- Checksum: 508c4ed1101bab0cc5f36e6e785a69b6e7892a9a511ebe23b338e4edf1cebc6a
4+
- Checksum: c7697a4c6a7405866a41bab1bc4cb58ad5fa501be81ab3ecf80e72d4d78788ff
55
![brushfire](./flow-field-path.png)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NosCore.Pathfinder's Documentation
22
## Goal Based Pathfinder
33
- Filename: goal-based-pathfinder.png
4-
- Checksum: 508c4ed1101bab0cc5f36e6e785a69b6e7892a9a511ebe23b338e4edf1cebc6a
4+
- Checksum: c7697a4c6a7405866a41bab1bc4cb58ad5fa501be81ab3ecf80e72d4d78788ff
55
![brushfire](./goal-based-pathfinder.png)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NosCore.Pathfinder's Documentation
22
## Jump Point Search Pathfinder (break at walls)
33
- Filename: jump-point-search-pathfinder.png
4-
- Checksum: 0944988268fb7f1f6601bf1516aaccaca25a43bb583c5a92b1da3d6cd4f8ccc7
4+
- Checksum: c255a02a91718ee50823cc1f4070d782e7a06f9e79cabcd1aaad780882b4c165
55
![brushfire](./jump-point-search-pathfinder.png)

documentation/brushfire.png

-23.3 KB
Loading

documentation/flow-field-path.png

-9.56 KB
Loading

documentation/flow-field.png

-10.5 KB
Loading

0 commit comments

Comments
 (0)