From 7a7634e548dc9b576a44126459b1e3a6969305a9 Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Tue, 14 May 2024 08:28:59 +0100 Subject: [PATCH] use powershell --- .github/workflows/dotnet.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 1759f2b295..7ff03a07af 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -24,21 +24,16 @@ jobs: key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - name: Format - run: ./build.sh format + run: ./build.ps1 format - name: Restore - run: ./build.sh restore + run: ./build.ps1 restore - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v2 - name: Build - run: ./build.sh build + run: ./build.ps1 build - - name: Pack - run: ./build.sh zip - - - name: Upload artifacts - uses: actions/upload-artifact@v4 - with: - path: output/*.* + - name: Pack And Upload + run: ./build.ps1 zip