diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml
index cc64f3b..2a028c9 100644
--- a/.github/workflows/dotnetcore.yml
+++ b/.github/workflows/dotnetcore.yml
@@ -11,15 +11,25 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
+
- name: Restore
run: dotnet restore
+
- name: Build
run: dotnet build --configuration Release --no-restore /property:ContinuousIntegrationBuild=True
+
# - name: Test
# run: dotnet test --configuration Release --no-restore --no-build
+
- name: Pack
run: dotnet pack --configuration Release --no-restore --no-build
+
+ - name: Publish
+ uses: actions/upload-artifact@v4
+ with:
+ name: packages
+ path: '**/*.nupkg'
diff --git a/DeviceDetector.NET.CacheBuilder/DeviceDetector.NET.CacheBuilder.csproj b/DeviceDetector.NET.CacheBuilder/DeviceDetector.NET.CacheBuilder.csproj
index 489a8da..ee8431a 100644
--- a/DeviceDetector.NET.CacheBuilder/DeviceDetector.NET.CacheBuilder.csproj
+++ b/DeviceDetector.NET.CacheBuilder/DeviceDetector.NET.CacheBuilder.csproj
@@ -3,6 +3,7 @@
Exe
net8.0
+ false
diff --git a/DeviceDetector.NET.RegexEngine.PCRE/DeviceDetector.NET.RegexEngine.PCRE.csproj b/DeviceDetector.NET.RegexEngine.PCRE/DeviceDetector.NET.RegexEngine.PCRE.csproj
index 41dbb56..13613b7 100644
--- a/DeviceDetector.NET.RegexEngine.PCRE/DeviceDetector.NET.RegexEngine.PCRE.csproj
+++ b/DeviceDetector.NET.RegexEngine.PCRE/DeviceDetector.NET.RegexEngine.PCRE.csproj
@@ -1,8 +1,9 @@
- net7.0;net8.0
+ net8.0
DeviceDetectorNET.RegexEngine.PCRE
+ false
diff --git a/DeviceDetector.NET.Tests/DeviceDetector.NET.Tests.csproj b/DeviceDetector.NET.Tests/DeviceDetector.NET.Tests.csproj
index 57395c7..b0289c1 100644
--- a/DeviceDetector.NET.Tests/DeviceDetector.NET.Tests.csproj
+++ b/DeviceDetector.NET.Tests/DeviceDetector.NET.Tests.csproj
@@ -2,9 +2,7 @@
net8.0
-
false
-
DeviceDetectorNET.Tests
diff --git a/DeviceDetector.NET.Web/DeviceDetector.NET.Web.csproj b/DeviceDetector.NET.Web/DeviceDetector.NET.Web.csproj
index c9dcee1..2c62421 100644
--- a/DeviceDetector.NET.Web/DeviceDetector.NET.Web.csproj
+++ b/DeviceDetector.NET.Web/DeviceDetector.NET.Web.csproj
@@ -5,6 +5,7 @@
enable
enable
DeviceDetectorNET.Web
+ false