build: fix script path issues
This commit is contained in:
parent
b27e904af0
commit
3b42178f2a
|
@ -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:
|
||||||
|
|
|
@ -6,9 +6,7 @@ on:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue