Skip to content

Commit 27d6155

Browse files
authored
Update ci.yml
Signed-off-by: Najaf Shaikh <[email protected]>
1 parent 6dbea85 commit 27d6155

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ permissions:
1414
jobs:
1515
build-test-pack:
1616
runs-on: ubuntu-latest
17+
env:
18+
working-directory: ${{ github.workspace }}
1719
steps:
1820
- name: Checkout
1921
uses: actions/checkout@v4
@@ -43,12 +45,15 @@ jobs:
4345
4446
- name: Restore
4547
run: dotnet restore
48+
working-directory: '${{ env.working-directory }}'
4649

4750
- name: Build
4851
run: dotnet build --configuration Release --no-restore
49-
52+
working-directory: '${{ env.working-directory }}'
53+
5054
- name: Test
5155
run: dotnet test --configuration Release --no-build --collect:"XPlat Code Coverage"
56+
working-directory: '${{ env.working-directory }}'
5257

5358
- name: Pack (Pre-release or Alpha)
5459
if: ${{ steps.gitversion.outputs.PreReleaseTag != '' && github.ref_type == 'branch' && github.ref != 'refs/heads/main' }}

0 commit comments

Comments
 (0)