Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CatmanFan committed Dec 28, 2024
1 parent 62e0108 commit fdbea50
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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 *

0 comments on commit fdbea50

Please sign in to comment.