mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
Drop Nuget cache
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -5,9 +5,6 @@ jobs:
|
|||||||
name: Build
|
name: Build
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup NuGet
|
|
||||||
uses: nuget/setup-nuget@v1.0.2
|
|
||||||
|
|
||||||
- name: Setup MSBuild
|
- name: Setup MSBuild
|
||||||
uses: microsoft/setup-msbuild@v1.0.2
|
uses: microsoft/setup-msbuild@v1.0.2
|
||||||
|
|
||||||
@@ -16,17 +13,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Restore NuGet Packages Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.nuget/packages
|
|
||||||
key: ${{ runner.os }}-nuget-${{ hashFiles('Netch/Netch.csproj') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-nuget-
|
|
||||||
|
|
||||||
- name: Restore NuGet Package
|
|
||||||
run: nuget restore Netch.sln
|
|
||||||
|
|
||||||
- name: Build Solution
|
- name: Build Solution
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ param([string]$buildtfm = 'all')
|
|||||||
Write-Host 'DotNet SDK Version'
|
Write-Host 'DotNet SDK Version'
|
||||||
dotnet --version
|
dotnet --version
|
||||||
|
|
||||||
$exe = 'Netch.exe'
|
|
||||||
$mainDir = (Get-Item -Path ".\").FullName
|
$mainDir = (Get-Item -Path ".\").FullName
|
||||||
$net_baseoutput = "$mainDir\Netch\bin\$configuration"
|
$net_baseoutput = "$mainDir\Netch\bin\$configuration"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user