-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Rene-Sackers/azure-pipelines
Set up CI with Azure Pipelines
- Loading branch information
Showing
4 changed files
with
46 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# ASP.NET Core | ||
# Build and test ASP.NET Core projects targeting .NET Core. | ||
# Add steps that run tests, create a NuGet package, deploy, and more: | ||
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core | ||
|
||
trigger: | ||
- master | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
|
||
steps: | ||
- task: DotNetCoreInstaller@0 | ||
displayName: 'Install .NET Core 3.0 (preview)' | ||
inputs: | ||
version: '3.0.100-preview6-012264' | ||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet publish' | ||
inputs: | ||
command: 'publish' | ||
publishWebProjects: false | ||
projects: './src/StormworksLuaExtract/StormworksLuaExtract.csproj' | ||
arguments: '-c Release' | ||
zipAfterPublish: false | ||
- task: CopyFiles@2 | ||
displayName: 'Copy build artifacts' | ||
inputs: | ||
Contents: '**/publish/StormworksLuaExtract.exe' | ||
TargetFolder: '$(Build.ArtifactStagingDirectory)' | ||
- task: GitHubRelease@0 | ||
displayName: 'GitHub Release' | ||
inputs: | ||
gitHubConnection: GitHub-Connection | ||
repositoryName: '$(Build.Repository.Name)' | ||
action: 'create' | ||
target: '$(Build.SourceVersion)' | ||
tagSource: 'auto' | ||
assets: '$(Build.ArtifactStagingDirectory)/**/*.exe' | ||
isDraft: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters