Skip to content

Commit 7d6d157

Browse files
authored
Fix command block rendering with raw tags (#17136)
1 parent 355f074 commit 7d6d157

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

content/actions/creating-actions/metadata-syntax-for-github-actions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,16 @@ For example, this `cleanup.js` will only run on Linux-based runners:
209209
##### `runs.steps[*].run`
210210

211211
**Required** The command you want to run. This can be inline or a script in your action repository:
212+
213+
{% raw %}
212214
```yaml
213215
runs:
214216
using: "composite"
215217
steps:
216218
- run: ${{ github.action_path }}/test/script.sh
217219
shell: bash
218220
```
221+
{% endraw %}
219222

220223
Alternatively, you can use `$GITHUB_ACTION_PATH`:
221224

0 commit comments

Comments
 (0)