Skip to content

Commit

Permalink
added working-directory command
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-gilliam committed Nov 5, 2023
1 parent 259363e commit c5daab6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: .NET

env:
src_dir: src/
src_dir: ./src
solution: CommandersCall.sln

on:
Expand All @@ -24,9 +24,9 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Change to source directory
run: cd ${{ env.src_dir }}
- name: Restore dependencies
working-directory: ${{ env.src_dir }}
run: dotnet restore ${{ env.solution }}
- name: Build
working-directory: ${{ env.src_dir }}
run: dotnet build --no-restore ${{ env.solution }}

0 comments on commit c5daab6

Please sign in to comment.