@@ -110,8 +110,8 @@ The following workflow will run on pushes to `releases/10` or `releases/beta/mon
110110on:
111111 push:
112112 branches:
113- - 'releases/**'
114- - '!releases/**-alpha'
113+ - 'releases/**'
114+ - '!releases/**-alpha'
115115` ` `
116116
117117# ## `on.<push|pull_request>.paths`
@@ -128,7 +128,7 @@ When all the path names match patterns in `paths-ignore`, the workflow will not
128128on:
129129 push:
130130 paths-ignore:
131- - 'docs/**'
131+ - 'docs/**'
132132` ` `
133133
134134# ### Example including paths
@@ -139,7 +139,7 @@ If at least one path matches a pattern in the `paths` filter, the workflow runs.
139139on:
140140 push:
141141 paths:
142- - '**.js'
142+ - '**.js'
143143` ` `
144144
145145# ### Excluding paths
@@ -160,8 +160,8 @@ This example runs anytime the `push` event includes a file in the `sub-project`
160160on:
161161 push:
162162 paths:
163- - 'sub-project/**'
164- - '!sub-project/docs/**'
163+ - 'sub-project/**'
164+ - '!sub-project/docs/**'
165165` ` `
166166
167167# ### Git diff comparisons
@@ -478,15 +478,15 @@ jobs:
478478 output1: ${{ steps.step1.outputs.test }}
479479 output2: ${{ steps.step2.outputs.test }}
480480 steps:
481- - id: step1
482- run: echo "::set-output name=test::hello"
483- - id: step2
484- run: echo "::set-output name=test::world"
481+ - id: step1
482+ run: echo "::set-output name=test::hello"
483+ - id: step2
484+ run: echo "::set-output name=test::world"
485485 job2:
486486 runs-on: ubuntu-latest
487487 needs: job1
488488 steps:
489- - run: echo ${{needs.job1.outputs.output1}} ${{needs.job1.outputs.output2}}
489+ - run: echo ${{needs.job1.outputs.output1}} ${{needs.job1.outputs.output2}}
490490` ` `
491491{% endraw %}
492492
@@ -556,14 +556,14 @@ jobs:
556556 name: My Job
557557 runs-on: ubuntu-latest
558558 steps:
559- - name: Print a greeting
560- env:
561- MY_VAR: Hi there! My name is
562- FIRST_NAME: Mona
563- MIDDLE_NAME: The
564- LAST_NAME: Octocat
565- run: |
566- echo $MY_VAR $FIRST_NAME $MIDDLE_NAME $LAST_NAME.
559+ - name: Print a greeting
560+ env:
561+ MY_VAR: Hi there! My name is
562+ FIRST_NAME: Mona
563+ MIDDLE_NAME: The
564+ LAST_NAME: Octocat
565+ run: |
566+ echo $MY_VAR $FIRST_NAME $MIDDLE_NAME $LAST_NAME.
567567` ` `
568568{% endraw %}
569569
0 commit comments