From fdbea50b7e3dff7b08670338f13a2de509f55dea Mon Sep 17 00:00:00 2001 From: CatmanFan Date: Sat, 28 Dec 2024 15:25:03 +0100 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c37f7dbf..cfb0e158 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,14 +19,14 @@ jobs: - name: Setup MSBuild uses: microsoft/setup-msbuild@v1 - - name: Navigate to Workspace - run: cd $GITHUB_WORKSPACE - - - name: Create Build Directory - run: mkdir _build + - name: Create build directory + run: cd $GITHUB_WORKSPACE && mkdir _build - name: Restore dependencies run: nuget restore FriishProduce.sln - name: Build release - run: MSBuild FriishProduce.sln /p:Configuration=Release /p:Platform="Any CPU" /t:build /restore /p:DeleteExistingFiles=False /p:PublishUrl="../_build" \ No newline at end of file + run: MSBuild FriishProduce.sln /p:Configuration=Release /p:Platform="Any CPU" /t:build /restore /p:DeleteExistingFiles=False /p:PublishUrl="../_build" + + - name: Create archive + run: cd $GITHUB_WORKSPACE/_build/ && zip -r FriishProduce_latest.zip * \ No newline at end of file