From 9c8fb861fab05e3eb09d65d68bcb5b4a1be8b1d8 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:02:40 +0100 Subject: [PATCH 01/20] Create dotnet.yml uhhhh workflow stuff? --- .github/workflows/dotnet.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..8deec38 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,29 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: push + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET 7.x + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 7.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal + + - uses: actions/upload-artifact@v3 + with: + name: Server Build + path: bin\Release\net7.0\NeaServer.exe From a6feed9fd6c921e186927b999cc137c331d84017 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:04:23 +0100 Subject: [PATCH 02/20] Update dotnet.yml adsf --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 8deec38..c4b9390 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,7 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Build - run: dotnet build --no-restore + run: dotnet build NeaServer.sln --no-restore - name: Test run: dotnet test --no-build --verbosity normal From 23311bcfa9857aef901f26d26564766452bdbd4b Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:05:54 +0100 Subject: [PATCH 03/20] Update dotnet.yml --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c4b9390..3b646f9 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -17,11 +17,11 @@ jobs: with: dotnet-version: 7.x - name: Restore dependencies - run: dotnet restore + run: dotnet restore NeaServer.sln - name: Build run: dotnet build NeaServer.sln --no-restore - name: Test - run: dotnet test --no-build --verbosity normal + run: dotnet test NeaServer.sln --no-build --verbosity normal - uses: actions/upload-artifact@v3 with: From 1a8ab090e523721bbdde7335e7377ddaca85e704 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:53:06 +0000 Subject: [PATCH 04/20] Update dotnet.yml work please --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 3b646f9..ea99435 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,4 +26,4 @@ jobs: - uses: actions/upload-artifact@v3 with: name: Server Build - path: bin\Release\net7.0\NeaServer.exe + path: bin\Release\net7.0\*.exe From e65f45bb3aefd8c94565a06a267c33e785bc5910 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:54:26 +0000 Subject: [PATCH 05/20] Update dotnet. adf rfshnj --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index ea99435..7b588d2 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,4 +26,4 @@ jobs: - uses: actions/upload-artifact@v3 with: name: Server Build - path: bin\Release\net7.0\*.exe + path: * From 4f8c3f49b4c4b8698875796e082be0c30e8faa0a Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:55:09 +0000 Subject: [PATCH 06/20] Update dotnet.yml asdfj; --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7b588d2..76d9cca 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,4 +26,4 @@ jobs: - uses: actions/upload-artifact@v3 with: name: Server Build - path: * + path: /* From b1f92a00949156e07413ab1e03c9f40a3fe91e33 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:59:22 +0000 Subject: [PATCH 07/20] Update dotnet.yml ls --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 76d9cca..2f46e32 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,11 +19,11 @@ jobs: - name: Restore dependencies run: dotnet restore NeaServer.sln - name: Build - run: dotnet build NeaServer.sln --no-restore + run: dotnet build NeaServer.sln --no-restore; ls /bin/Release/; pwd - name: Test run: dotnet test NeaServer.sln --no-build --verbosity normal - uses: actions/upload-artifact@v3 with: name: Server Build - path: /* + path: /bin/Release/* From d6afc894b7ab688f94ef6c2aa06746da149a41bc Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:00:33 +0000 Subject: [PATCH 08/20] Update dotnet.yml pwd --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2f46e32..06bbd9d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,7 @@ jobs: - name: Restore dependencies run: dotnet restore NeaServer.sln - name: Build - run: dotnet build NeaServer.sln --no-restore; ls /bin/Release/; pwd + run: dotnet build NeaServer.sln --no-restore; pwd - name: Test run: dotnet test NeaServer.sln --no-build --verbosity normal From f08e46b20dcbd7db42f4d9f52593b549fa98100e Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:03:38 +0000 Subject: [PATCH 09/20] Update dotnet.ymlb dd --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 06bbd9d..a7e3176 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,4 +26,4 @@ jobs: - uses: actions/upload-artifact@v3 with: name: Server Build - path: /bin/Release/* + path: bin/Debug/net7.0/* From 496636ca0956a328d24497573f26e6120e0eb8d8 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:10:10 +0000 Subject: [PATCH 10/20] Update dotnet.yml --- .github/workflows/dotnet.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index a7e3176..57206e0 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,9 +19,7 @@ jobs: - name: Restore dependencies run: dotnet restore NeaServer.sln - name: Build - run: dotnet build NeaServer.sln --no-restore; pwd - - name: Test - run: dotnet test NeaServer.sln --no-build --verbosity normal + run: dotnet publish NeaServer.sln --no-restore -r win-x64 --self-contained - uses: actions/upload-artifact@v3 with: From 05364b6ab6980aa49817b9dcd011d35787a796cc Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:29:14 +0000 Subject: [PATCH 11/20] Update dotnet.yml sef contained --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 57206e0..89bece1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,7 @@ jobs: - name: Restore dependencies run: dotnet restore NeaServer.sln - name: Build - run: dotnet publish NeaServer.sln --no-restore -r win-x64 --self-contained + run: dotnet publish NeaServer.sln -c release --no-restore --self-contained - uses: actions/upload-artifact@v3 with: From 2f1603aa3ceb2cdc9d72ea8d5da08cda69795e2b Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:30:33 +0000 Subject: [PATCH 12/20] Update dotnet.yml self contained 2 --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 89bece1..4696447 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,7 @@ jobs: - name: Restore dependencies run: dotnet restore NeaServer.sln - name: Build - run: dotnet publish NeaServer.sln -c release --no-restore --self-contained + run: dotnet build NeaServer.sln --no-restore --self-contained - uses: actions/upload-artifact@v3 with: From c6f89906a2f1a408ed6fc85f77d15522c6480e3d Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:35:44 +0000 Subject: [PATCH 13/20] Update dotnet.yml csproj --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 4696447..7ad8da9 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,7 @@ jobs: - name: Restore dependencies run: dotnet restore NeaServer.sln - name: Build - run: dotnet build NeaServer.sln --no-restore --self-contained + run: dotnet build NeaServer.csproj --no-restore --self-contained - uses: actions/upload-artifact@v3 with: From 2c50cc20414a7439e2d2dba8d2aa26d99affb4fd Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:40:48 +0000 Subject: [PATCH 14/20] Update dotnet.yml win --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7ad8da9..960e46f 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -8,7 +8,7 @@ on: push jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v3 @@ -19,7 +19,7 @@ jobs: - name: Restore dependencies run: dotnet restore NeaServer.sln - name: Build - run: dotnet build NeaServer.csproj --no-restore --self-contained + run: dotnet build NeaServer.sln --no-restore --self-contained - uses: actions/upload-artifact@v3 with: From 2d19c46c733eea95bfe34e78a7e625b372ad7fca Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 Date: Thu, 2 Nov 2023 14:48:36 +0000 Subject: [PATCH 15/20] del .vscode --- .gitignore | 1 + .vscode/settings.json | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 54c5e92..310b4ae 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,4 @@ logs/* Program.cs bin/Debug/net7.0/logs/* +/obj diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 6dd33a4..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "dotnet.defaultSolution": "NeaServer.sln" -} \ No newline at end of file From 912715dd49a09fb73098fb7a4fd76115fdf9454c Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:18:52 +0000 Subject: [PATCH 16/20] Update nea server test.csproj add rintime identifiers --- nea server test.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/nea server test.csproj b/nea server test.csproj index 8312864..2b832fb 100644 --- a/nea server test.csproj +++ b/nea server test.csproj @@ -4,6 +4,7 @@ net7.0 nea_server_test enable + win-x64 enable From 5c81237994d3d5e3ec068dc26d3d031114e27925 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:20:05 +0000 Subject: [PATCH 17/20] Update dotnet.yml --- .github/workflows/dotnet.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 960e46f..5a6ba99 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -8,7 +8,7 @@ on: push jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -17,9 +17,9 @@ jobs: with: dotnet-version: 7.x - name: Restore dependencies - run: dotnet restore NeaServer.sln + run: dotnet restore NeaServer.csproj - name: Build - run: dotnet build NeaServer.sln --no-restore --self-contained + run: dotnet build NeaServer.csproj -r win-x64 --no-restore --self-contained - uses: actions/upload-artifact@v3 with: From 8d3e267d1766165a36862547f883710842e4f862 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:21:25 +0000 Subject: [PATCH 18/20] Update dotnet.yml --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 5a6ba99..baf344b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -8,7 +8,7 @@ on: push jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v3 @@ -19,7 +19,7 @@ jobs: - name: Restore dependencies run: dotnet restore NeaServer.csproj - name: Build - run: dotnet build NeaServer.csproj -r win-x64 --no-restore --self-contained + run: dotnet build NeaServer.csproj --no-restore --self-contained - uses: actions/upload-artifact@v3 with: From 57f79e00d1ed2f5527fe018a690df98c4b15fd6d Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:23:35 +0000 Subject: [PATCH 19/20] Update dotnet.yml --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index baf344b..960e46f 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -17,9 +17,9 @@ jobs: with: dotnet-version: 7.x - name: Restore dependencies - run: dotnet restore NeaServer.csproj + run: dotnet restore NeaServer.sln - name: Build - run: dotnet build NeaServer.csproj --no-restore --self-contained + run: dotnet build NeaServer.sln --no-restore --self-contained - uses: actions/upload-artifact@v3 with: From 55d422e4faa7c4c14cac7804d7fc9d4a36e780a2 Mon Sep 17 00:00:00 2001 From: ThePinkUnicorn6 <76398214+ThePinkUnicorn6@users.noreply.github.com> Date: Fri, 3 Nov 2023 09:57:39 +0000 Subject: [PATCH 20/20] Update nea server test.csproj does this work??? --- nea server test.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/nea server test.csproj b/nea server test.csproj index 2b832fb..8312864 100644 --- a/nea server test.csproj +++ b/nea server test.csproj @@ -4,7 +4,6 @@ net7.0 nea_server_test enable - win-x64 enable