11name : Check ClangFormat Configuration
22
3- # See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs /events-that-trigger-workflows
3+ # See: https://docs.github.com/actions/reference/workflows-and-actions /events-that-trigger-workflows
44on :
55 push :
66 paths :
7676
7777 - name : Set environment variables
7878 run : |
79- # See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions #setting-an-environment-variable
79+ # See: https://docs.github.com/actions/reference/workflows-and-actions /workflow-commands#setting-an-environment-variable
8080 if [[ "${{ github.event.inputs.clang-format-version }}" == "" ]]; then
8181 echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >>"$GITHUB_ENV"
8282 else
@@ -105,7 +105,7 @@ jobs:
105105 --file="${{ steps.download-clang-format.outputs.name }}"
106106
107107 # Add installation to PATH:
108- # See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions #adding-a-system-path
108+ # See: https://docs.github.com/actions/reference/workflows-and-actions /workflow-commands#adding-a-system-path
109109 echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >>"$GITHUB_PATH"
110110
111111 - name : Download yq
@@ -125,7 +125,7 @@ jobs:
125125 --file="${{ steps.download-yq.outputs.name }}"
126126
127127 # Add installation to PATH:
128- # See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions #adding-a-system-path
128+ # See: https://docs.github.com/actions/reference/workflows-and-actions /workflow-commands#adding-a-system-path
129129 echo "${{ env.YQ_INSTALL_PATH }}/yq" >>"$GITHUB_PATH"
130130
131131 - name : Check ClangFormat configuration file
@@ -162,7 +162,7 @@ jobs:
162162
163163 - name : Set environment variables
164164 run : |
165- # See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions #setting-an-environment-variable
165+ # See: https://docs.github.com/actions/reference/workflows-and-actions /workflow-commands#setting-an-environment-variable
166166 if [[ "${{ github.event.inputs.clang-format-version }}" == "" ]]; then
167167 echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >>"$GITHUB_ENV"
168168 else
@@ -190,7 +190,7 @@ jobs:
190190 --file="${{ steps.download.outputs.name }}"
191191
192192 # Add installation to PATH:
193- # See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions #adding-a-system-path
193+ # See: https://docs.github.com/actions/reference/workflows-and-actions /workflow-commands#adding-a-system-path
194194 echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >>"$GITHUB_PATH"
195195
196196 - name : Check ClangFormat output
@@ -238,7 +238,7 @@ jobs:
238238 steps :
239239 - name : Set environment variables
240240 run : |
241- # See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions #setting-an-environment-variable
241+ # See: https://docs.github.com/actions/reference/workflows-and-actions /workflow-commands#setting-an-environment-variable
242242 echo "CONVERSION_OUTPUT_PATH=${{ runner.temp }}/clang-format-js-object.txt" >>"$GITHUB_ENV"
243243
244244 - name : Checkout repository
0 commit comments