12 строки
284 B
PowerShell
12 строки
284 B
PowerShell
param(
|
|
[Parameter(Mandatory = $true, Position = 0)]
|
|
[string]$targetFramework
|
|
)
|
|
|
|
dotnet clean -c Release
|
|
|
|
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY"
|
|
|
|
# Building for a specific framework.
|
|
dotnet build -c Release -f $targetFramework /p:RepositoryUrl=$repositoryUrl
|