Skip to content

Commit

Permalink
Merge pull request #64 from Zingabopp/actions-fix
Browse files Browse the repository at this point in the history
Clear nuget locals before build
  • Loading branch information
nike4613 authored Mar 18, 2021
2 parents d9bc769 + deb30b0 commit 46a51fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
with:
# As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json
dotnet-version: "3.1.404" # since we now use this
- name: Clear Nuget Cache
run: dotnet nuget locals all --clear
- name: Restore
run: msbuild -t:Restore -m
- name: Build
Expand All @@ -47,4 +49,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: BSIPA-net35-${{ env.Platform }}
path: BSIPA-Meta/bin/${{ env.Platform }}/${{ env.Configuration }}/net35/
path: BSIPA-Meta/bin/${{ env.Platform }}/${{ env.Configuration }}/net35/
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
with:
# As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json
dotnet-version: "3.1.404" # since we now use this
- name: Clear Nuget Cache
run: dotnet nuget locals all --clear
- name: Nuget Restore
run: msbuild -t:Restore -m
- name: Install DocFX
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tag_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
with:
# As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json
dotnet-version: "3.1.404" # since we now use this
- name: Clear Nuget Cache
run: dotnet nuget locals all --clear
- name: Nuget Restore
run: msbuild -t:Restore -m
- name: Install DocFX
Expand Down

0 comments on commit 46a51fd

Please sign in to comment.