File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : .NET Aspire + AZD
2
+
1
3
on :
2
4
workflow_dispatch :
3
5
push :
4
- # Run when commits are pushed to mainline branch (main or master)
5
- # Set this to the mainline branch you are using
6
- branches :
7
- - main
8
- - master
9
-
6
+ branches : [main]
7
+ paths :
8
+ - ' aspire-sample/**'
9
+ pull_request :
10
+ branches : [main]
11
+ paths :
12
+ - ' aspire-sample/**'
13
+
10
14
# GitHub Actions workflow to deploy to Azure using azd
11
15
# To configure required secrets for connecting to Azure, simply run `azd pipeline config`
12
16
59
63
env :
60
64
AZURE_CREDENTIALS : ${{ secrets.AZURE_CREDENTIALS }}
61
65
62
- - name : Provision Infrastructure
66
+ - name : Restore Aspire Workload
63
67
run : dotnet workload restore
64
68
65
69
- name : Provision Infrastructure
You can’t perform that action at this time.
0 commit comments