Browse Source

Merge pull request #64 from Zingabopp/actions-fix

Clear nuget locals before build
pull/94/head 4.1.6
Anairkoen Schno 3 years ago
committed by GitHub
parent
commit
46a51fd9c7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions
  1. +3
    -1
      .github/workflows/build.yml
  2. +2
    -0
      .github/workflows/docs.yml
  3. +2
    -0
      .github/workflows/tag_docs.yml

+ 3
- 1
.github/workflows/build.yml View File

@ -34,6 +34,8 @@ jobs:
with: with:
# As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json # 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 dotnet-version: "3.1.404" # since we now use this
- name: Clear Nuget Cache
run: dotnet nuget locals all --clear
- name: Restore - name: Restore
run: msbuild -t:Restore -m run: msbuild -t:Restore -m
- name: Build - name: Build
@ -47,4 +49,4 @@ jobs:
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: BSIPA-net35-${{ env.Platform }} name: BSIPA-net35-${{ env.Platform }}
path: BSIPA-Meta/bin/${{ env.Platform }}/${{ env.Configuration }}/net35/
path: BSIPA-Meta/bin/${{ env.Platform }}/${{ env.Configuration }}/net35/

+ 2
- 0
.github/workflows/docs.yml View File

@ -31,6 +31,8 @@ jobs:
with: with:
# As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json # 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 dotnet-version: "3.1.404" # since we now use this
- name: Clear Nuget Cache
run: dotnet nuget locals all --clear
- name: Nuget Restore - name: Nuget Restore
run: msbuild -t:Restore -m run: msbuild -t:Restore -m
- name: Install DocFX - name: Install DocFX


+ 2
- 0
.github/workflows/tag_docs.yml View File

@ -30,6 +30,8 @@ jobs:
with: with:
# As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json # 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 dotnet-version: "3.1.404" # since we now use this
- name: Clear Nuget Cache
run: dotnet nuget locals all --clear
- name: Nuget Restore - name: Nuget Restore
run: msbuild -t:Restore -m run: msbuild -t:Restore -m
- name: Install DocFX - name: Install DocFX


Loading…
Cancel
Save