Pārlūkot izejas kodu

Update dotnet-desktop.yml

Marcin Ziąbek 3 gadi atpakaļ
vecāks
revīzija
920e61fc5e
1 mainītis faili ar 3 papildinājumiem un 5 dzēšanām
  1. 3 5
      .github/workflows/dotnet-desktop.yml

+ 3 - 5
.github/workflows/dotnet-desktop.yml

@@ -32,18 +32,16 @@ jobs:
         uses: actions/setup-dotnet@v1
         uses: actions/setup-dotnet@v1
         with:
         with:
           dotnet-version: '6.0.x'
           dotnet-version: '6.0.x'
-
-      - name: 🛠 Build Solution 🛠
-        shell: bash
-        run: cd Source
-
+          
       - name: 🔄 Restore Nuget Packages 🔄
       - name: 🔄 Restore Nuget Packages 🔄
         shell: bash
         shell: bash
         run: dotnet restore
         run: dotnet restore
+        working-directory: ./Source
 
 
       - name: 🛠 Build Solution 🛠
       - name: 🛠 Build Solution 🛠
         shell: bash
         shell: bash
         run: dotnet build -c Release --no-restore
         run: dotnet build -c Release --no-restore
+        working-directory: ./Source
         
         
       - name: Upload build artifacts
       - name: Upload build artifacts
         uses: actions/upload-artifact@v3
         uses: actions/upload-artifact@v3