Skip to content

Commit a201b87

Browse files
committed
correct working directories
1 parent 30e5d32 commit a201b87

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
dotnet-version: ${{matrix.dotnet}}
2020
- name: Restore tools
2121
run: dotnet tool restore
22+
working-directory: ./fcs
2223
- name: Build and test
2324
run: dotnet fake build -t TestAndNuGet
25+
working-directory: ./fcs
2426
- name: Archive code coverage results
2527
uses: actions/upload-artifact@v2
2628
with:

.github/workflows/docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,17 @@ jobs:
1818
dotnet-version: 3.1.201
1919
- name: Restore tools
2020
run: dotnet tool restore
21+
working-directory: ./fcs
2122
- name: Restore dependencies
2223
run: dotnet restore
24+
working-directory: ./fcs
2325
- name: Run Fornax
2426
run: dotnet fake build -t GenerateDocs
27+
working-directory: ./fcs
2528
- name: Deploy
2629
uses: peaceiris/actions-gh-pages@v3
2730
with:
2831
personal_token: ${{ secrets.GITHUB_TOKEN }}
29-
publish_dir: ./docsrc/_public
32+
publish_dir: ./fcs/docsrc/_public
3033
publish_branch: gh-pages
3134
force_orphan: true

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,21 @@ jobs:
2222
dotnet-version: ${{ matrix.dotnet }}
2323
- name: Restore tools
2424
run: dotnet tool restore
25+
working-directory: ./fcs
2526
- name: Build and Test
2627
run: dotnet fake build -t TestAndNuget
28+
working-directory: ./fcs
2729
- name: Validate package bump
2830
run: dotnet fake build -s -t ValidateVersionBump
31+
working-directory: ./fcs
2932
- name: Publish to nuget
3033
run: dotnet fake build -s -t PublishNuget
34+
working-directory: ./fcs
3135
env:
3236
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
3337
- name: Create release
3438
run: dotnet fake build -s -t CreateRelease
39+
working-directory: ./fcs
3540
env:
3641
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3742

0 commit comments

Comments
 (0)