Refactor azure-dev.yml to set default working directory for the build job
هذا الالتزام موجود في:
18
.github/workflows/azure-dev.yml
مباع
18
.github/workflows/azure-dev.yml
مباع
@@ -1,12 +1,16 @@
|
||||
name: .NET Aspire + AZD
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
# Run when commits are pushed to mainline branch (main or master)
|
||||
# Set this to the mainline branch you are using
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'aspire-sample/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'aspire-sample/**'
|
||||
|
||||
# GitHub Actions workflow to deploy to Azure using azd
|
||||
# To configure required secrets for connecting to Azure, simply run `azd pipeline config`
|
||||
|
||||
@@ -59,7 +63,7 @@ jobs:
|
||||
env:
|
||||
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
|
||||
|
||||
- name: Provision Infrastructure
|
||||
- name: Restore Aspire Workload
|
||||
run: dotnet workload restore
|
||||
|
||||
- name: Provision Infrastructure
|
||||
|
المرجع في مشكلة جديدة
حظر مستخدم