Skip to content

Bump SixLabors.ImageSharp from 3.0.2 to 3.1.5 in /src/Contacts.Functions.ThumbnailCreator #64

Bump SixLabors.ImageSharp from 3.0.2 to 3.1.5 in /src/Contacts.Functions.ThumbnailCreator

Bump SixLabors.ImageSharp from 3.0.2 to 3.1.5 in /src/Contacts.Functions.ThumbnailCreator #64

Workflow file for this run

name: Deploy Contacts Web UI and API
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
AZURE_WEBAPI_PACKAGE_PATH: '.'
DOTNET_CORE_VERSION: 7.0.x
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_CORE_VERSION }}
- name: Install dependencies
run: dotnet restore ./src/Contacts.sln
- name: Build API
run: dotnet build ./src/Contacts.Api/Contacts.Api.csproj --configuration Release --no-restore
- name: Build Web
run: dotnet build ./src/Contacts.WebUi/Contacts.WebUi.csproj --configuration Release --no-restore
- name: Test
run: dotnet test ./src/Contacts.sln --no-restore --verbosity normal
- name: Publish WebUI
run: dotnet publish ./src/Contacts.WebUi/Contacts.WebUi.csproj -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/webui'
- name: Azure WebApp - Web UI
uses: Azure/webapps-deploy@v2
with:
app-name: cwjg-contacts-web
publish-profile: ${{ secrets.WEB_UI_PUBLISH_PROFILE }}
package: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/webui'
- name: Publish Web API
run: dotnet publish ./src/Contacts.Api/Contacts.Api.csproj -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/webapi'
- name: Azure WebApp - Web API
uses: Azure/webapps-deploy@v2
with:
app-name: cwjg-contacts-api
publish-profile: ${{ secrets.WEB_API_PUBLISH_PROFILE }}
package: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/webapi'