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: push:
branches: branches:
- master - master
- dev-Actions
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@ -6,9 +6,7 @@ on:
- master - master
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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" 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" $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 write-host "copy file $licFile" -ForegroundColor Cyan
xcopy $licFile $publishFolder /y xcopy $licFile $publishFolder /y