name: .NET

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2.4.0
    - name: Setup .NET
      uses: actions/setup-dotnet@v1.9.0
      with:
        dotnet-version: 6.0.x
        include-prerelease: true

    - name: Build with dotnet
      run: dotnet build --configuration Release
    
    - name: Publish
      run: dotnet publish --configuration Release -o artifacts --no-build

    - name: Deploy Azure WebApp
      uses: Azure/webapps-deploy@v2.2.3
      if: contains(github.ref, 'main')
      with:
        # Publish profile (*.publishsettings) file contents with Web Deploy secrets
        publish-profile: ${{ secrets.azureWebAppPublishProfile }}
        # Name of the Azure Web App
        app-name: Cash-Flow-Projections
        # Path to package or folder. *.zip, *.war, *.jar or a folder to deploy
        package: './artifacts'

name: .NET

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2.4.0
    - name: Setup .NET
      uses: actions/setup-dotnet@v1.9.1
      with:
        dotnet-version: 6.0.x
        include-prerelease: true

    - name: Build with dotnet
      run: dotnet build --configuration Release
    
    - name: Publish
      run: dotnet publish --configuration Release -o artifacts --no-build

    - name: Deploy Azure WebApp
      uses: Azure/webapps-deploy@v2.2.3
      if: contains(github.ref, 'main')
      with:
        # Publish profile (*.publishsettings) file contents with Web Deploy secrets
        publish-profile: ${{ secrets.azureWebAppPublishProfile }}
        # Name of the Azure Web App
        app-name: Cash-Flow-Projections
        # Path to package or folder. *.zip, *.war, *.jar or a folder to deploy
        package: './artifacts'

Bump actions/setup-dotnet from 1.9.0 to 1.9.1
Bump actions/setup-dotnet from 1.9.0 to 1.9.1

Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>