82e0ef17e9
ASP.NET AJAX / build_web_app (push) Waiting to run
Angular / build_angular (push) Waiting to run
ASP.NET Core (with Reporting) / build_windows (push) Waiting to run
Blazor (with Reporting) / build_windows (push) Waiting to run
Blazor (with Reporting) / build_linux (push) Waiting to run
Console (.NET) / build_console (arm64, linux) (push) Waiting to run
Console (.NET) / build_console (arm64, win) (push) Waiting to run
Console (.NET) / build_console (x64, linux) (push) Waiting to run
Console (.NET) / build_console (x64, win) (push) Waiting to run
MAUI / Windows Smoketest (push) Waiting to run
MAUI / Android Smoketest (push) Waiting to run
MAUI / iOS Smoketest (push) Waiting to run
MAUI / MacCatalyst Smoketest (push) Waiting to run
WinForms (.NET Framework) / build_desktop (Release, x64) (push) Waiting to run
WinForms (.NET Framework) / build_desktop (Release, x86) (push) Waiting to run
WinUI3 / build-windows (push) Waiting to run
WPF (.NET Framework) / build_desktop (Release, x64) (push) Waiting to run
WPF (.NET Framework) / build_desktop (Release, x86) (push) Waiting to run
ASP.NET Core (with Reporting) - Docker / Microsoft Base - Publish to Docker Hub (push) Waiting to run
ASP.NET Core (with Reporting) - Docker / CentOS Base - Publish to Docker Hub (push) Waiting to run
Blazor (with Reporting) - Docker / Dockerfile Build and Publish (push) Waiting to run
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
name: ASP.NET Core (with Reporting)
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
- "aspnetcore/*"
|
|
paths:
|
|
- 'src/AspNetCore/**/*'
|
|
- '.github/workflows/main_build-aspnetcore.yml'
|
|
|
|
permissions:
|
|
id-token: write # JWT for Akeyless and Azure auth
|
|
|
|
env:
|
|
DOTNET_VERSION: "10.0.x"
|
|
PROJECT_PATH: src/AspNetCore/MyAspNetCoreApp/MyAspNetCoreApp.csproj
|
|
NUGETCONFIG_PATH: src/NuGet.Config
|
|
|
|
jobs:
|
|
build_windows:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
# Using AKeyless for secrets in this demo, but you can use github Secrets instead
|
|
- name: Fetch secrets from AKeyless
|
|
id: akeyless
|
|
uses: LanceMcCarthy/akeyless-action@v5
|
|
with:
|
|
access-id: 'p-4blpeo5zdfeaom'
|
|
static-secrets: |
|
|
{
|
|
"/progress/TELERIK_NUGET_KEY":"TELERIK_NUGET_KEY",
|
|
"/progress/TELERIK_LICENSE":"TELERIK_LICENSE_KEY"
|
|
}
|
|
export-secrets-to-outputs: true
|
|
export-secrets-to-environment: false
|
|
|
|
- name: Setup .NET Core SDK
|
|
uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: ${{env.DOTNET_VERSION}}
|
|
|
|
- name: Restore NuGet Packages
|
|
run: dotnet restore ${{env.PROJECT_PATH}} --configfile ${{env.NUGETCONFIG_PATH}}
|
|
env:
|
|
TELERIK_USERNAME: "api-key"
|
|
TELERIK_PASSWORD: ${{steps.akeyless.outputs.TELERIK_NUGET_KEY}}
|
|
|
|
- name: Build ASP.NET Core Project
|
|
run: dotnet build ${{env.PROJECT_PATH}} -c Debug --no-restore
|
|
env:
|
|
TELERIK_LICENSE: ${{steps.akeyless.outputs.TELERIK_LICENSE_KEY}}
|