Skip to content

Commit

Permalink
Start Restore Dependencies with WorkingDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
GeminiServer authored Jan 24, 2024
1 parent 9f4d628 commit 9fdcb60
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
ecπππname: Build

on: [push]

Expand All @@ -17,14 +17,9 @@ jobs:
with:
dotnet-version: '7.0'

- name: Set restore directory
run: cd restore

- name: Run run Restore-Dependencies script
run: pwsh ./Restore-Dependencies.ps1 -Verbose
- name: Run Restore-Dependencies script
run: pwsh -Command "Start-Process pwsh -ArgumentList '-File','$PWD/restore/Restore-Dependencies.ps1','-Verbose' -WorkingDirectory $PWD/restore"

- name: Go back to build directory
run: cd ..
- name: Run Build-Release
run: pwsh scripts/Build-Release.ps1 -Verbose

Expand Down

0 comments on commit 9fdcb60

Please sign in to comment.