Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-scales committed Jan 24, 2024
1 parent 03a8f21 commit 782b88f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/expiredposts_fujobfunctions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: './FU.API' # set this to the path to your web app project, defaults to the repository root
AZURE_FUNCTIONAPP_PACKAGE_PATH: './FU.API/FU.Functions' # set this to the path to your web app project, defaults to the repository root
DOTNET_VERSION: '7.0.x' # set this to the dotnet version to use

jobs:
Expand Down
5 changes: 4 additions & 1 deletion FU.API/FU.Functions/FU.Functions.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.17.0-preview1" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.13" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.1.1" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions FU.API/FU.Functions/Function1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace FU.Functions;
using Microsoft.Extensions.Configuration;
using Microsoft.EntityFrameworkCore;
using FU.API.Data;
using Microsoft.Azure.Functions.Worker;

public static class Function1
{
Expand Down
6 changes: 6 additions & 0 deletions FU.API/FU.Functions/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
using Microsoft.Extensions.Hosting;

var host = new HostBuilder()
.Build();

await host.RunAsync();

0 comments on commit 782b88f

Please sign in to comment.