Compare commits

...

17 Commits

Author SHA1 Message Date
28c5f3ac1a added fetch tags to see if helps
Some checks failed
Spellcheck / Spellcheck (push) Failing after 26s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 2m21s
2026-04-14 00:23:39 -04:00
9852d6da0a readded emojies to test of mysql is not suportiogn them
Some checks failed
Spellcheck / Spellcheck (push) Failing after 27s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 2m13s
2026-04-14 00:06:19 -04:00
091e8c086a removed emojies from readme
Some checks failed
Spellcheck / Spellcheck (push) Failing after 24s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 2m12s
2026-04-13 23:40:57 -04:00
b10a2ebdc9 wrong brach tag
Some checks failed
Spellcheck / Spellcheck (push) Failing after 23s
Build NuGet / build (push) Failing after 1m10s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 2m14s
2026-04-13 23:10:57 -04:00
d2a0b0b007 more anoyed testing
Some checks failed
Spellcheck / Spellcheck (push) Failing after 29s
Tests / Evaluate Tests on ubuntu-latest (push) Has been cancelled
2026-04-13 23:10:05 -04:00
048ea69d47 test build from diffrent project
Some checks failed
Spellcheck / Spellcheck (push) Failing after 31s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 2m17s
2026-04-13 13:11:50 -04:00
d753ce67c3 fixed secret
Some checks failed
Spellcheck / Spellcheck (push) Failing after 10s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 50s
2026-04-10 21:47:44 -04:00
c0751c34df relse 2
Some checks failed
Spellcheck / Spellcheck (push) Failing after 9s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 51s
2026-04-10 21:39:32 -04:00
3341125442 YAY
Some checks failed
Spellcheck / Spellcheck (push) Failing after 10s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 51s
2026-04-10 21:29:35 -04:00
4f9cf7f62b more cspell fixed, and acidltal paste into release
Some checks failed
Spellcheck / Spellcheck (push) Failing after 10s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 51s
2026-04-10 21:11:09 -04:00
1951a0f2e7 removed reqiments for HG_BASIC
Some checks failed
Spellcheck / Spellcheck (push) Failing after 10s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 55s
2026-04-10 21:06:27 -04:00
39ab19eec0 add some comments and commented out HG_Basic
Some checks failed
Spellcheck / Spellcheck (push) Failing after 10s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 51s
2026-04-10 21:02:05 -04:00
d2f16fee48 same as previous
Some checks failed
Spellcheck / Spellcheck (push) Failing after 9s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 55s
2026-04-10 20:50:12 -04:00
faf7449802 trying to get github working
Some checks failed
Spellcheck / Spellcheck (push) Failing after 9s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 51s
2026-04-10 20:47:05 -04:00
7266590bbf token
Some checks failed
Spellcheck / Spellcheck (push) Failing after 11s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 55s
2026-04-10 20:45:07 -04:00
b38656c923 added cspell and better source
Some checks failed
Spellcheck / Spellcheck (push) Failing after 10s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 55s
2026-04-10 20:41:00 -04:00
91bd5428a7 nuget source
Some checks failed
Spellcheck / Spellcheck (push) Failing after 10s
Tests / Evaluate Tests on ubuntu-latest (push) Failing after 27s
2026-04-10 20:35:08 -04:00
5 changed files with 45 additions and 13 deletions

View File

@@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@v6
with:
# Use your GitHub Personal Access Token variable here.
token: ${{ secrets.GH_BASIC }}
token: ${{ secrets.NUGET_KEY }}
lfs: true
submodules: 'recursive'
@@ -79,3 +79,4 @@ jobs:
GH_BASIC: ${{ secrets.GH_BASIC }}
with:
bump: patch
#994139c880db4bab879ae724ce1ac43b87c88e42

View File

@@ -39,6 +39,7 @@ jobs:
lfs: true
submodules: 'recursive'
fetch-depth: 0 # So we can get all tags.
fetch-tags: true
- name: Read Current Project Version
id: current-version
@@ -63,7 +64,6 @@ jobs:
with:
# Use the .NET SDK from global.json in the root of the repository.
global-json-file: global.json
# Write version to file so .NET will build correct version.
- name: Write Version to File
uses: jacobtomlinson/gha-find-replace@v3
@@ -83,15 +83,20 @@ jobs:
package=$(find ./GodotHelper/nupkg -name "*.nupkg")
echo "package=$package" >> "$GITHUB_OUTPUT"
echo "Found package: $package"
echo "${{ steps.package-path.outputs.package }}"
# - name: Create Release
# env:
# GITHUB_TOKEN: ${{ secrets.GH_BASIC }}
# run: |
# version="${{ steps.next-version.outputs.version }}"
# gh release create --title "v$version" --generate-notes "$version" \
# "${{ steps.package-path.outputs.package }}"
- name: Create Release
run: |
version="${{ steps.next-version.outputs.version }}"
curl -X POST "http://192.168.1.4:3000/api/packages/Ronnie/GodotHelpers/releases" \
-H "Authorization: token ${{ secrets.GH_BASIC }}" \
-H "Content-Type: application/json" \
-d "{
\"tag_name\": \"$version\",
\"name\": \"v$version\",
\"body\": \"Auto release $version\"
}"
- name: Publish to Nuget
run: |
dotnet nuget push "${{ steps.package-path.outputs.package }}" \
@@ -100,3 +105,5 @@ jobs:
--api-key "${{ secrets.NUGET_KEY }}" \
--skip-duplicate

View File

@@ -1,12 +1,14 @@
namespace GodotHelpers.Raycasts;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Godot;
using Godot.Collections;
using SJK.Functional;
namespace GodotHelpers.Raycasts;
/// <summary>
/// Extensions for <see cref="PhysicsDirectSpaceState3D"/>.
/// Allows for an static way of casting an godot Raycast3D.
/// </summary>
public static class RaycastExtensions
{
// --- 3D ---
@@ -45,6 +47,10 @@ public static class RaycastExtensions
// --- 2D ---
/// <summary>
/// Extensions for <see cref="PhysicsDirectSpaceState2D"/>.
/// Allows for an static way of casting an godot Raycast3D.
/// </summary>
public static RaycastResult2D? RaycastEx(this PhysicsDirectSpaceState2D space, Vector2 from, Vector2 to, uint collisionMask = uint.MaxValue, Rid[]? exclude = null, bool hitFromInside = false)
{
var query = new PhysicsRayQueryParameters2D

13
NuGet.Config Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="gitea" value="http://192.168.1.4:3000/api/packages/Ronnie/nuget/index.json" allowInsecureConnections="True" />
</packageSources>
<packageSourceCredentials>
<gitea>
<add key="Username" value="Ronnie" />
<add key="ClearTextPassword" value="e59e39d60f30b539ae594d8cfc7a9771883d2eb0" />
</gitea>
</packageSourceCredentials>
</configuration>

View File

@@ -13,6 +13,7 @@
"**/nupkg/**/*.*"
],
"words": [
"Aabb",
"assemblyfilters",
"automerge",
"branchcoverage",
@@ -28,14 +29,18 @@
"endregion",
"Finalizer",
"Finalizers",
"gitea",
"globaltool",
"godotengine",
"godotpackage",
"issuecomment",
"justalemon",
"Kisner",
"lcov",
"Lerp",
"lihop",
"linecoverage",
"Mathf",
"methodcoverage",
"missingall",
"msbuild",