From 616ef9d555693e29e8d161444c7c8b84968bf096 Mon Sep 17 00:00:00 2001 From: Syping Date: Tue, 18 Nov 2025 00:33:00 +0100 Subject: [PATCH] only upload necessary files in windows github workflow --- .github/workflows/windows.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d94d758..bc8e3e9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -14,12 +14,15 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Build ragephoto-cli - run: dotnet publish -c Release -f net8.0 -p:PublishAot=true -r win-x64 + run: dotnet publish ragephoto-cli.csproj -c Release -p:PublishAot=true -r win-x64 -o ${{github.workspace}}\.build - name: Upload uses: actions/upload-artifact@v5 with: name: Windows Build - path: ${{github.workspace}}/bin/Release/net8.0/win-x64/publish/ + if-no-files-found: error + path: | + ${{github.workspace}}\.build\libragephoto.dll + ${{github.workspace}}\.build\ragephoto-cli.exe Installer: needs: [Build] runs-on: ubuntu-latest