Skip to content

Commit 48ab178

Browse files
authored
Merge pull request #99167 from ggailey777/patch-14
Tabs
2 parents e358e82 + 8b0146f commit 48ab178

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

articles/azure-functions/functions-how-to-github-actions.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,11 @@ GitHub can now authenticate to your function app in Azure.
5959

6060
## Set up the environment
6161

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.
6363

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)
7265

73-
**JavaScript**
66+
The following example shows the part of the workflow that uses the `actions/setup-node` action to set up the environment:
7467

7568
```yaml
7669
- name: 'Login via Azure CLI'
@@ -83,7 +76,9 @@ The following examples show the part of the workflow that sets up the environmen
8376
node-version: '10.x'
8477
```
8578
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:
8782

8883
```yaml
8984
- name: 'Login via Azure CLI'
@@ -96,7 +91,9 @@ The following examples show the part of the workflow that sets up the environmen
9691
python-version: 3.6
9792
```
9893

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:
10097

10198
```yaml
10299
- name: 'Login via Azure CLI'
@@ -109,7 +106,9 @@ The following examples show the part of the workflow that sets up the environmen
109106
dotnet-version: '2.2.300'
110107
```
111108

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:
113112

114113
```yaml
115114
- name: 'Login via Azure CLI'
@@ -123,14 +122,15 @@ The following examples show the part of the workflow that sets up the environmen
123122
# Please change the Java version to match the version in pom.xml <maven.compiler.source>
124123
java-version: '1.8.x'
125124
```
125+
---
126126

127127
## Build the function app
128128

129129
This depends on the language and for languages supported by Azure Functions, this section should be the standard build steps of each language.
130130

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:
132132

133-
**JavaScript**
133+
# [JavaScript](#tab/javascript)
134134

135135
```yaml
136136
- name: 'Run npm'
@@ -145,7 +145,7 @@ The following examples show the part of the workflow that builds the function ap
145145
popd
146146
```
147147

148-
**Python**
148+
# [Python](#tab/python)
149149

150150
```yaml
151151
- name: 'Run pip'
@@ -159,7 +159,7 @@ The following examples show the part of the workflow that builds the function ap
159159
popd
160160
```
161161

162-
**.NET**
162+
# [C#](#tab/csharp)
163163

164164
```yaml
165165
- name: 'Run dotnet build'
@@ -172,7 +172,7 @@ The following examples show the part of the workflow that builds the function ap
172172
popd
173173
```
174174

175-
**Java**
175+
# [Java](#tab/java)
176176

177177
```yaml
178178
- name: 'Run mvn'
@@ -185,6 +185,7 @@ The following examples show the part of the workflow that builds the function ap
185185
mvn azure-functions:package
186186
popd
187187
```
188+
---
188189

189190
## Deploy the function app
190191

0 commit comments

Comments
 (0)