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:
|
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
|
||||||
|
المرجع في مشكلة جديدة
حظر مستخدم