Skip to content

Map result to ApplicationViewModel while returning result from Create application #78

Map result to ApplicationViewModel while returning result from Create application

Map result to ApplicationViewModel while returning result from Create application #78

name: Identity Build Only
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'src/**'
pull_request:
branches: [ main ]
paths:
- 'src/**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
dotnet-version: [ '8.0.x' ]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name : Cache nuget packages
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Display dotnet version
run: dotnet --version
- name: Install dependencies
run: dotnet restore Pixel.Identity.sln
- name: Publish
run: dotnet publish src/Pixel.Identity.Provider/Pixel.Identity.Provider.csproj -c Release --no-restore -o app/publish
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: pixel-identity-${{ matrix.os }}
path: app/publish