From 0506b59840c65eac75218b9e223ef9e058833325 Mon Sep 17 00:00:00 2001 From: Somebody Date: Thu, 2 May 2024 22:35:32 +0800 Subject: [PATCH] fix --- .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 bf24e52a..b1e68e40 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -30,13 +30,13 @@ jobs: run: dotnet restore - name: Publish win-x64 - run: dotnet publish -o Release\win-x64 -r win-x64 --framework net8.0 -p:PublishSingleFile=true + run: dotnet publish GameServer\GameServer.csproj -o Release\win-x64 -r win-x64 --framework net8.0 -p:PublishSingleFile=true --no-restore - name: Publish linux-x64 - run: dotnet publish -o Release\linux-x64 -r linux-x64 --framework net8.0 -p:PublishSingleFile=true + run: dotnet publish GameServer\GameServer.csproj -o Release\linux-x64 -r linux-x64 --framework net8.0 -p:PublishSingleFile=true --no-restore - name: Publish linux-arm64 - run: dotnet publish -o Release\linux-arm64 -r linux-arm64 --framework net8.0 -p:PublishSingleFile=true + run: dotnet publish GameServer\GameServer.csproj -o Release\linux-arm64 -r linux-arm64 --framework net8.0 -p:PublishSingleFile=true --no-restore - name: Upload win-x64 Build Artifact uses: actions/upload-artifact@v4.3.1