Refactor azure-dev.yml to set default working directory for the build job

هذا الالتزام موجود في:
Chris Ayers
2024-09-26 12:13:48 -04:00
الأصل 535e497ee9
التزام 43e6d739e4

عرض الملف

@@ -1,11 +1,15 @@
name: .NET Aspire + AZD
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
# Run when commits are pushed to mainline branch (main or master) branches: [main]
# Set this to the mainline branch you are using paths:
branches: - 'aspire-sample/**'
- main pull_request:
- master branches: [main]
paths:
- 'aspire-sample/**'
# GitHub Actions workflow to deploy to Azure using azd # GitHub Actions workflow to deploy to Azure using azd
# To configure required secrets for connecting to Azure, simply run `azd pipeline config` # To configure required secrets for connecting to Azure, simply run `azd pipeline config`
@@ -59,7 +63,7 @@ jobs:
env: env:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
- name: Provision Infrastructure - name: Restore Aspire Workload
run: dotnet workload restore run: dotnet workload restore
- name: Provision Infrastructure - name: Provision Infrastructure