代码拉取完成,页面将自动刷新
language: csharp
env:
- CAKE_SETTINGS_SKIPVERIFICATION="true" CAKE_NUGET_USEINPROCESSCLIENT="true"
script:
- echo "Information(Context.Environment.Runtime.CakeVersion.ToString());" > build.cake
- ./build.sh || exit 1
- echo "Testing with modules/addin packages.config"
- mkdir tools/modules
- echo -e "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<packages>\r\n <package id=\"Cake.Chocolatey.Module\" version=\"0.5.0\" />\r\n</packages>" > ./tools/modules/packages.config
- mkdir tools/addins
- echo -e "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<packages>\r\n <package id=\"Cake.MicrosoftTeams\" version=\"0.7.0\" />\r\n</packages>" > ./tools/addins/packages.config
- ./build.sh || exit 1
- echo "Test build.ps1 with pester tests"
- pwsh -command "Invoke-Expression .\tests\Tests.ps1"
- ls -D -R
os:
- linux
dist: xenial
before_install:
- sudo snap install core
- sudo snap install powershell --classic
- pwsh -command "Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted"
- pwsh -command "Install-Module -Name Pester"
- cp dotnet-framework/build.sh build.sh
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。