@@ -59,18 +59,11 @@ GitHub can now authenticate to your function app in Azure.
59
59
60
60
## Set up the environment
61
61
62
- Setting up the environment can be done using one of the publish setup actions .
62
+ Setting up the environment is done using a language-specific publish setup action .
63
63
64
- | Language | Setup Action |
65
- | ---------| ---------|
66
- | ** .NET** | ` actions/setup-dotnet ` |
67
- | ** Java** | ` actions/setup-java ` |
68
- | ** JavaScript** | ` actions/setup-node ` |
69
- | ** Python** | ` actions/setup-python ` |
70
-
71
- The following examples show the part of the workflow that sets up the environment for the various supported languages:
64
+ # [ JavaScript] ( #tab/javascript )
72
65
73
- ** JavaScript **
66
+ The following example shows the part of the workflow that uses the ` actions/setup-node ` action to set up the environment:
74
67
75
68
``` yaml
76
69
- name : ' Login via Azure CLI'
@@ -83,7 +76,9 @@ The following examples show the part of the workflow that sets up the environmen
83
76
node-version : ' 10.x'
84
77
` ` `
85
78
86
- **Python**
79
+ # [Python](#tab/python)
80
+
81
+ The following example shows the part of the workflow that uses the ` actions/setup-python` action to set up the environment:
87
82
88
83
` ` ` yaml
89
84
- name: 'Login via Azure CLI'
@@ -96,7 +91,9 @@ The following examples show the part of the workflow that sets up the environmen
96
91
python-version: 3.6
97
92
` ` `
98
93
99
- **.NET**
94
+ # [C#](#tab/csharp)
95
+
96
+ The following example shows the part of the workflow that uses the `actions/setup-dotnet` action to set up the environment :
100
97
101
98
` ` ` yaml
102
99
- name: 'Login via Azure CLI'
@@ -109,7 +106,9 @@ The following examples show the part of the workflow that sets up the environmen
109
106
dotnet-version: '2.2.300'
110
107
` ` `
111
108
112
- **Java**
109
+ # [Java](#tab/java)
110
+
111
+ The following example shows the part of the workflow that uses the `actions/setup-java` action to set up the environment :
113
112
114
113
` ` ` yaml
115
114
- name: 'Login via Azure CLI'
@@ -123,14 +122,15 @@ The following examples show the part of the workflow that sets up the environmen
123
122
# Please change the Java version to match the version in pom.xml <maven.compiler.source>
124
123
java-version: '1.8.x'
125
124
` ` `
125
+ ---
126
126
127
127
# # Build the function app
128
128
129
129
This depends on the language and for languages supported by Azure Functions, this section should be the standard build steps of each language.
130
130
131
- The following examples show the part of the workflow that builds the function app, in the various supported languages. :
131
+ The following example shows the part of the workflow that builds the function app, which is language specific :
132
132
133
- ** JavaScript**
133
+ # [ JavaScript](#tab/javascript)
134
134
135
135
` ` ` yaml
136
136
- name: 'Run npm'
@@ -145,7 +145,7 @@ The following examples show the part of the workflow that builds the function ap
145
145
popd
146
146
` ` `
147
147
148
- ** Python**
148
+ # [ Python](#tab/python)
149
149
150
150
` ` ` yaml
151
151
- name: 'Run pip'
@@ -159,7 +159,7 @@ The following examples show the part of the workflow that builds the function ap
159
159
popd
160
160
` ` `
161
161
162
- **.NET**
162
+ # [C#](#tab/csharp)
163
163
164
164
` ` ` yaml
165
165
- name: 'Run dotnet build'
@@ -172,7 +172,7 @@ The following examples show the part of the workflow that builds the function ap
172
172
popd
173
173
` ` `
174
174
175
- ** Java**
175
+ # [ Java](#tab/java)
176
176
177
177
` ` ` yaml
178
178
- name: 'Run mvn'
@@ -185,6 +185,7 @@ The following examples show the part of the workflow that builds the function ap
185
185
mvn azure-functions:package
186
186
popd
187
187
` ` `
188
+ ---
188
189
189
190
# # Deploy the function app
190
191
0 commit comments