GithubHelp home page GithubHelp logo

beatriz-alcantara / mslearn-tailspin-spacegame-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoftdocs/mslearn-tailspin-spacegame-web

0.0 0.0 0.0 829 KB

Code used in Microsoft Learn modules to support Azure DevOps

Home Page: https://aka.ms/devops-build

License: Creative Commons Attribution 4.0 International

Shell 30.87% JavaScript 2.15% C# 23.84% CSS 5.41% HTML 28.75% Dockerfile 2.48% SCSS 6.50%

mslearn-tailspin-spacegame-web's Introduction

Anotações

Declação de variáveis

  • Declarar a seção 'variables':
variables:
  buildConfiguration: 'Release'
  wwwrootDir: 'Tailspin.SpaceGame.Web/wwwroot'
  dotnetSdkVersion: '6.x'
  • Referenciar a variável entre '$()'
steps:
- task: UseDotNet@2
  displayName: 'Use .NET SDK $(dotnetSdkVersion)'
  inputs:
    packageType: sdk
    version: '$(dotnetSdkVersion)'

Templates

Templates funcionam como um módulo que separamos do arquivo de pipeline e utilizamos parâmetros para que sejam reutilizados.

Parâmetros

  • Declarar parâmetros:
parameters:
  buildConfiguration: 'Release'
  • Referenciar o parâmetro entre '${{}}'
steps:
- task: DotNetCoreCLI@2
  displayName: 'Build the project - ${{ parameters.buildConfiguration }}'
  inputs:
    command: 'build'
    arguments: '--no-restore --configuration ${{ parameters.buildConfiguration }}'
    projects: '**/*.csproj'

mslearn-tailspin-spacegame-web's People

Contributors

tpetchel avatar dependabot[bot] avatar beatriz-alcantara avatar steved0x avatar microsoftopensource avatar juliakm avatar jamcneil avatar microsoft-github-policy-service[bot] avatar msftgits avatar stijnlegtenberg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.