From dd3a181fdd94b7b2c55c131fa72564d1fa1e00b7 Mon Sep 17 00:00:00 2001 From: Andrii Tretiak Date: Sat, 28 Jun 2025 02:38:06 -0700 Subject: [PATCH 1/2] fix publish --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56fe63e..836eee9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,11 +31,11 @@ jobs: run: dotnet publish --runtime ${{ matrix.runtime }} - name: Publish Self Contained - run: dotnet publish --runtime ${{ matrix.runtime }} --self-contained + run: dotnet publish --runtime ${{ matrix.runtime }} --no-build --no-restore --self-contained - name: Upload build artifacts if: github.event_name != 'pull_request' uses: actions/upload-artifact@v4 with: name: $env:Runtime - path: artifact/**/YewCone.*.exe + path: artifacts/publish/** From d4ed892e719f53bc0a3acc8d121029d63b39849f Mon Sep 17 00:00:00 2001 From: Andrii Tretiak Date: Sat, 28 Jun 2025 02:41:47 -0700 Subject: [PATCH 2/2] bring back restore --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 836eee9..f70b8a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: run: dotnet publish --runtime ${{ matrix.runtime }} - name: Publish Self Contained - run: dotnet publish --runtime ${{ matrix.runtime }} --no-build --no-restore --self-contained + run: dotnet publish --runtime ${{ matrix.runtime }} --self-contained - name: Upload build artifacts if: github.event_name != 'pull_request'