Try new dynamic URL approach for REST location #10
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
name: "Build AppHost" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
NUGET_CONF_PATH: './nuget.config' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Update NuGet Package Sources | |
run: dotnet nuget update source "TelerikServer" -s "https://nuget.telerik.com/v3/index.json" -u 'api-key' -p ${{secrets.TELERIK_NUGET_KEY}} --configfile ${{env.NUGET_CONF_PATH}} --store-password-in-clear-text | |
- name: Install .NET Aspire workload | |
run: dotnet workload install aspire | |
- name: Restore NuGet packages | |
run: dotnet restore --configfile ${{env.NUGET_CONF_PATH}} | |
- name: Build solution | |
run: dotnet build -c Release --no-restore |