ci: copy NuGet lock file to root

to pass "test-setup-with-cache" e2e test
This commit is contained in:
Nogic 2023-05-10 00:49:02 +00:00
parent 9703c805e0
commit f55c1f49a4

View File

@ -219,6 +219,9 @@ jobs:
- name: Clear toolcache - name: Clear toolcache
shell: pwsh shell: pwsh
run: __tests__/clear-toolcache.ps1 ${{ runner.os }} run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
- name: Copy NuGet lock file to root
shell: bash
run: cp ./__tests__/e2e-test-csproj/packages.lock.json ./packages.lock.json
- name: Setup .NET Core 3.1 - name: Setup .NET Core 3.1
id: setup-dotnet id: setup-dotnet
uses: ./ uses: ./