build: fix script path issues

This commit is contained in:
Argo Zhang 2019-09-05 15:24:04 +08:00
parent b27e904af0
commit 3b42178f2a
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
3 changed files with 1 additions and 6 deletions

View File

@ -4,12 +4,9 @@ on:
push:
branches:
- master
- dev-Actions
jobs:
build:
runs-on: ubuntu-latest
steps:

View File

@ -6,9 +6,7 @@ on:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:

View File

@ -6,7 +6,7 @@ runCmd "dotnet build src\admin\Bootstrap.Admin"
runCmd "dotnet publish src\admin\Bootstrap.Admin --configuration Release --no-restore"
$publishFolder = "$($env:appveyor_build_folder)\src\admin\Bootstrap.Admin\bin\Release\netcoreapp2.2\publish"
$licFile = "$($env:appveyor_build_folder)\scripts\Longbow.lic"
$licFile = "$($env:appveyor_build_folder)\src\admin\keys\Longbow.lic"
write-host "copy file $licFile" -ForegroundColor Cyan
xcopy $licFile $publishFolder /y