From 398e35e24310ccacf15309c1eb00ce83728f5c88 Mon Sep 17 00:00:00 2001 From: Eugene <151620493+asv-soft-u03@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:23:00 +0300 Subject: [PATCH] fix path to project --- .github/workflows/BuildForWindows.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/BuildForWindows.yml b/.github/workflows/BuildForWindows.yml index 6b5594a7..785e95e2 100644 --- a/.github/workflows/BuildForWindows.yml +++ b/.github/workflows/BuildForWindows.yml @@ -31,16 +31,21 @@ jobs: run: | dotnet tool install -g dotnet-setversion setversion ${{ steps.version.outputs.version-without-v }} ${{ env.PATH_TO_PROJECTS }}\Asv.Drones.Gui.Desktop\Asv.Drones.Gui.Desktop.csproj + + - name: Restore workloads + run: | + cd src + dotnet workload restore - name: Building projects run: | - cd src + cd ${{ env.PATH_TO_PROJECTS }}\Asv.Drones.Gui.Desktop dotnet build -c Release - name: Publish uses: actions/upload-artifact@v3 with: - name: release-package-${{ runner.os }}-${{ inputs.build-type }}-${{ inputs.arch != '' && inputs.arch || runner.arch }} + name: release-package-${{ runner.os }}-${{ inputs.build-type }} path: | ${{ github.workspace }}/out/package/${{ inputs.preset-name }}/*.tar.* ${{ github.workspace }}/out/package/${{ inputs.preset-name }}/*.zip