44 # See: https://github.com/actions/setup-node/#readme
55 NODE_VERSION : 16.x
66
7- # See: https://docs.github.com/actions/using -workflows/events-that-trigger-workflows
7+ # See: https://docs.github.com/actions/writing -workflows/choosing-when-your-workflow-runs /events-that-trigger-workflows
88on :
99 push :
1010 paths :
7575
7676 - name : Set environment variables
7777 run : |
78- # See: https://docs.github.com/actions/using -workflows/workflow-commands-for-github-actions#setting-an-environment-variable
78+ # See: https://docs.github.com/actions/writing -workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions#setting-an-environment-variable
7979 if [[ "${{ github.event.inputs.clang-format-version }}" == "" ]]; then
8080 echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >> "$GITHUB_ENV"
8181 else
9999 cd "${{ env.CLANG_FORMAT_INSTALL_PATH }}"
100100 tar --extract --file="${{ steps.download-clang-format.outputs.name }}"
101101 # Add installation to PATH:
102- # See: https://docs.github.com/actions/using -workflows/workflow-commands-for-github-actions#adding-a-system-path
102+ # See: https://docs.github.com/actions/writing -workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions#adding-a-system-path
103103 echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >> "$GITHUB_PATH"
104104
105105 - name : Download yq
@@ -115,7 +115,7 @@ jobs:
115115 cd "${{ env.YQ_INSTALL_PATH }}"
116116 tar --extract --file="${{ steps.download-yq.outputs.name }}"
117117 # Add installation to PATH:
118- # See: https://docs.github.com/actions/using -workflows/workflow-commands-for-github-actions#adding-a-system-path
118+ # See: https://docs.github.com/actions/writing -workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions#adding-a-system-path
119119 echo "${{ env.YQ_INSTALL_PATH }}/yq" >> "$GITHUB_PATH"
120120
121121 - name : Check ClangFormat configuration file
@@ -152,7 +152,7 @@ jobs:
152152
153153 - name : Set environment variables
154154 run : |
155- # See: https://docs.github.com/actions/using -workflows/workflow-commands-for-github-actions#setting-an-environment-variable
155+ # See: https://docs.github.com/actions/writing -workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions#setting-an-environment-variable
156156 if [[ "${{ github.event.inputs.clang-format-version }}" == "" ]]; then
157157 echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >> "$GITHUB_ENV"
158158 else
@@ -175,7 +175,7 @@ jobs:
175175 cd "${{ env.CLANG_FORMAT_INSTALL_PATH }}"
176176 tar --extract --file="${{ steps.download.outputs.name }}"
177177 # Add installation to PATH:
178- # See: https://docs.github.com/actions/using -workflows/workflow-commands-for-github-actions#adding-a-system-path
178+ # See: https://docs.github.com/actions/writing -workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions#adding-a-system-path
179179 echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >> "$GITHUB_PATH"
180180
181181 - name : Check ClangFormat output
@@ -220,7 +220,7 @@ jobs:
220220 steps :
221221 - name : Set environment variables
222222 run : |
223- # See: https://docs.github.com/actions/using -workflows/workflow-commands-for-github-actions#setting-an-environment-variable
223+ # See: https://docs.github.com/actions/writing -workflows/choosing-what-your-workflow-does /workflow-commands-for-github-actions#setting-an-environment-variable
224224 echo "CONVERSION_OUTPUT_PATH=${{ runner.temp }}/clang-format-js-object.txt" >> "$GITHUB_ENV"
225225
226226 - name : Checkout repository
0 commit comments