Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
78ef486
Initial
tpetchel Sep 26, 2019
8673d65
Merge branch 'master' into release-pipeline
tpetchel Oct 14, 2019
69f9d7b
Update to .NET Core 3.1
tpetchel Jan 22, 2020
29d05b4
Bump UseDotNet
tpetchel Jan 22, 2020
481b640
Merge pull request #15 from MicrosoftDocs/release-pipeline-dotnet31
tpetchel Jan 24, 2020
8880a82
Bump Ubuntu, .NET Core SDK versions
tpetchel Jun 11, 2020
21c1963
Merge branch 'master' into release-pipeline
tpetchel Jun 11, 2020
35dbf46
Merge pull request #38 from MicrosoftDocs/release-pipeline-1
tpetchel Jun 12, 2020
0c9f250
Merge branch 'main' into release-pipeline-21q4r
tpetchel Jun 21, 2021
8a7fcc2
Bump Ubuntu, .NET versions
tpetchel Jun 21, 2021
cd6e865
Merge branch 'main' into release-pipeline-21q4r
tpetchel Jun 24, 2021
f5e7101
Merge pull request #98 from MicrosoftDocs/release-pipeline-21q4r
tpetchel Jun 24, 2021
c010a13
Merge branch 'main' into release-pipeline
tpetchel Dec 10, 2021
ce023c7
Merge branch 'main' into release-pipeline
tpetchel Feb 8, 2022
3c6007e
Merge branch 'main' into release-pipeline
tpetchel Feb 8, 2022
bbdb83a
Bump release-pipeline YAML to .NET 6
0xjer1co May 11, 2022
08728a1
Merge branch 'main' into release-pipeline
tpetchel Jun 3, 2022
a30fe4e
Merge pull request #147 from jesorian/patch-7
tpetchel Jun 3, 2022
f578ba0
Update .net version from 6.0 to 8.0 AB#434397
May 22, 2025
a6f3145
Merge branch 'main' of https://github.com/MicrosoftDocs/mslearn-tails…
May 22, 2025
19d4390
updates yml file
Jun 30, 2025
25ce820
channge
Jul 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tailspin.SpaceGame.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
});
}
}
}
}
59 changes: 59 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
trigger:
- '*'
- 'gabby-release-branch'

pool:
vmImage: 'ubuntu-22.04'
demands:
- npm

variables:
buildConfiguration: 'Release'
wwwrootDir: 'Tailspin.SpaceGame.Web/wwwroot'
dotnetSdkVersion: '8.x'

steps:
- task: UseDotNet@2
displayName: 'Use .NET SDK $(dotnetSdkVersion)'
inputs:
version: '$(dotnetSdkVersion)'

- task: Npm@1
displayName: 'Run npm install'
inputs:
verbose: false

- script: './node_modules/.bin/sass Tailspin.SpaceGame.Web/wwwroot:Tailspin.SpaceGame.Web/wwwroot'
displayName: 'Compile Sass assets'

- task: gulp@1
displayName: 'Run gulp tasks'

- script: 'echo "$(Build.DefinitionName), $(Build.BuildId), $(Build.BuildNumber)" > buildinfo.txt'
displayName: 'Write build info'
workingDirectory: $(wwwrootDir)

- task: DotNetCoreCLI@2
displayName: 'Restore project dependencies'
inputs:
command: 'restore'
projects: '**/*.csproj'

- task: DotNetCoreCLI@2
displayName: 'Build the project - $(buildConfiguration)'
inputs:
command: 'build'
arguments: '--no-restore --configuration $(buildConfiguration)'
projects: '**/*.csproj'

- task: DotNetCoreCLI@2
displayName: 'Publish the project - $(buildConfiguration)'
inputs:
command: 'publish'
projects: '**/*.csproj'
publishWebProjects: false
arguments: '--no-build --configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)/$(buildConfiguration)'
zipAfterPublish: true

- publish: '$(Build.ArtifactStagingDirectory)'
artifact: drop
Loading