diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml new file mode 100644 index 00000000..9e71f3ed --- /dev/null +++ b/.github/workflows/pr-verify.yml @@ -0,0 +1,25 @@ + +name: Build and deploy ASP.Net Core app to an Azure Web App + +on: + pull_request: + branches: [ "main" ] + + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0 + + + - name: Build with dotnet + run: dotnet build --configuration Release + + \ No newline at end of file diff --git a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs index 786b4a10..03b205d6 100644 --- a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs +++ b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs @@ -10,3 +10,8 @@ public record WeatherForecast public string? Summary { get; init; } } + +//hello world +// hello world 2 +//this is a new feature +//this is a new feature 2 \ No newline at end of file