diff --git a/.github/workflows/dotnet.yaml b/.github/workflows/dotnet.yaml
new file mode 100644
index 0000000..838125e
--- /dev/null
+++ b/.github/workflows/dotnet.yaml
@@ -0,0 +1,24 @@
+name: dotnet publish workflow
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ - uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: '6.0'
+ - run: 'dotnet restore'
+ - run: 'dotnet test -c Release'
+ - run: 'dotnet publish -o publish -c Release src/ommstats/ommstats.csproj'
+ - name: Upload result
+ uses: actions/upload-artifact@v4
+ with:
+ name: publish
+ path: publish
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 780d0c2..0000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-version: 0.0.{build}
-pull_requests:
- do_not_increment_build_number: true
-branches:
- only:
- - master
-skip_tags: true
-image: Ubuntu1804
-configuration: Release
-platform: Any CPU
-dotnet_csproj:
- patch: true
- file: '**\ommstats.csproj'
- version: '{version}'
- version_prefix: '{version}'
- package_version: '{version}'
- assembly_version: '{version}'
- file_version: '{version}'
- informational_version: '{version}'
-install:
-- sh: >-
- cd $APPVEYOR_BUILD_FOLDER
- git submodule update --init --recursive
-build_script:
-- sh: dotnet publish -c $CONFIGURATION
-artifacts:
-- path: src\ommstats\bin\Release\netcoreapp3.0\publish
- name: gh-release
-deploy:
-- provider: GitHub
- tag: v$(appveyor_build_version)
- release: v$(appveyor_build_version)
- auth_token:
- secure: RcHNjuAh+92p+kAT8mfzoPN9sGS7U+hf4HGddfDGDoJVlgsSn7qcroHTrsJp1VMk
- artifact: gh-release
- draft: true
- force_update: true
- on:
- branch: master
\ No newline at end of file
diff --git a/src/ommstats/ommstats.csproj b/src/ommstats/ommstats.csproj
index ba93b1f..6a97218 100644
--- a/src/ommstats/ommstats.csproj
+++ b/src/ommstats/ommstats.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
eventphone.ommstats
@@ -25,11 +25,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/test/ommstats.test/ommstats.test.csproj b/test/ommstats.test/ommstats.test.csproj
index 008e5ba..35eaf07 100644
--- a/test/ommstats.test/ommstats.test.csproj
+++ b/test/ommstats.test/ommstats.test.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
@@ -9,9 +9,9 @@
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive