Skip to content

Commit 10e610f

Browse files
committed
Fix Go module tracking and .NET detection
1 parent 1b12e9f commit 10e610f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/build-dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Detect .NET project
1313
id: detect
1414
run: |
15-
if ls dotnet/*.sln dotnet/*.csproj >/dev/null 2>&1; then
15+
if ls dotnet/*.sln >/dev/null 2>&1 || ls dotnet/*.csproj >/dev/null 2>&1; then
1616
echo "present=true" >> "$GITHUB_OUTPUT"
1717
else
1818
echo "present=false" >> "$GITHUB_OUTPUT"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ modules.order
5050
Module.symvers
5151
Mkfile.old
5252
dkms.conf
53+
!go/go.mod
54+
!go/go.sum
5355

5456
# debug information files
5557
*.dwo

go/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/cuihairu/epoch/go
2+
3+
go 1.24

0 commit comments

Comments
 (0)