-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from mark-szabo/v2.2
CarWash App v2.2 - Graphisoft Park Expansion
- Loading branch information
Showing
77 changed files
with
38,240 additions
and
18,260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build and deploy to PROD | ||
on: | ||
push: | ||
branches: | ||
- main | ||
env: | ||
AZURE_WEBAPP_NAME: mimosonk | ||
AZURE_WEBAPP_PACKAGE_PATH: CarWash.PWA\publish | ||
CONFIGURATION: Release | ||
DOTNET_CORE_VERSION: 8.0.x | ||
WORKING_DIRECTORY: CarWash.PWA | ||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_CORE_VERSION }} | ||
- name: Restore | ||
run: dotnet restore "${{ env.WORKING_DIRECTORY }}" | ||
- name: Build | ||
run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-restore | ||
- name: Test | ||
run: dotnet test "${{ env.WORKING_DIRECTORY }}" --no-build | ||
- name: Publish | ||
run: dotnet publish "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-build --output "${{ env.AZURE_WEBAPP_PACKAGE_PATH }}" | ||
- name: Publish Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: webapp | ||
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} | ||
deploy: | ||
runs-on: windows-latest | ||
needs: build | ||
steps: | ||
- name: Download artifact from build job | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: webapp | ||
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} | ||
- name: Deploy to Azure WebApp | ||
uses: azure/webapps-deploy@v2 | ||
with: | ||
app-name: ${{ env.AZURE_WEBAPP_NAME }} | ||
publish-profile: ${{ secrets.mimosonk_E838 }} | ||
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,42 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.1</TargetFramework> | ||
<TargetFramework>net8.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DocumentationFile>bin\Debug\netstandard2.0\CarWash.ClassLibrary.xml</DocumentationFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Remove="Migrations\20180902003120_PushSubscription.cs" /> | ||
<Compile Remove="Migrations\20180902003549_PushSubscription.cs" /> | ||
<Compile Remove="Migrations\20180902233002_Keys.cs" /> | ||
<Compile Remove="Migrations\20180905115640_PushSubscription.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.13.1" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.Azure.ServiceBus" Version="4.1.3" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="3.1.3" /> | ||
<PackageReference Include="Microsoft.Graph" Version="3.3.0" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" /> | ||
<PackageReference Include="System.ComponentModel.Annotations" Version="4.7.0" /> | ||
<PackageReference Include="WebPush" Version="1.0.11" /> | ||
<PackageReference Include="WindowsAzure.Storage" Version="9.3.3" /> | ||
<PackageReference Include="Azure.Messaging.ServiceBus" Version="7.18.2" /> | ||
<PackageReference Include="Azure.Storage.Common" Version="12.21.1" /> | ||
<PackageReference Include="Azure.Storage.Queues" Version="12.20.1" /> | ||
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.9.2" /> | ||
<PackageReference Include="Microsoft.Graph" Version="5.61.0" /> | ||
<PackageReference Include="WebPush" Version="1.0.12" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.10" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="8.0.10" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.10"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.10" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.10" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="8.0.10" /> | ||
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="8.0.10" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageReference Include="System.Text.Json" Version="8.0.5" /> | ||
</ItemGroup> | ||
|
||
</Project> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.