File tree Expand file tree Collapse file tree 1 file changed +26
-26
lines changed
Expand file tree Collapse file tree 1 file changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -64,35 +64,35 @@ This is a GitHub Action that can be used to transform strings in GitHub Actions.
6464
6565## Usage
6666
67- ```yaml
68- - name: Action Lowercase
69- id: lowercase
70- uses: ./ # Uses an action in the root directory
71- with:
72- operation: 'lowercase'
73- input-string: 'Hello World'
74-
75- - name: Action UpperCase
76- id: uppercase
77- uses: ./ # Uses an action in the root directory
78- with:
79- operation: 'uppercase'
80- input-string: 'Hello World'
81-
82- - name: Action Kebabcase
83- id: kebabcase
84- uses: ./ # Uses an action in the root directory
85- with:
86- operation: 'kebabcase'
87- input-string: 'Hello World'
88- ```
67+ ``` yaml
68+ - name : Action Lowercase
69+ id : lowercase
70+ uses : ./ # Uses an action in the root directory
71+ with :
72+ operation : ' lowercase'
73+ input-string : ' Hello World'
74+
75+ - name : Action UpperCase
76+ id : uppercase
77+ uses : ./ # Uses an action in the root directory
78+ with :
79+ operation : ' uppercase'
80+ input-string : ' Hello World'
81+
82+ - name : Action Kebabcase
83+ id : kebabcase
84+ uses : ./ # Uses an action in the root directory
85+ with :
86+ operation : ' kebabcase'
87+ input-string : ' Hello World'
88+ ` ` `
8989
9090Then Fetch the result with:
9191
92- ```yaml
93- - name: Get the output
94- run: echo "The output was ${{ steps.lowercase.outputs.output-string }}"
95- ```
92+ ` ` ` yaml
93+ - name : Get the output
94+ run : echo "The output was ${{ steps.lowercase.outputs.output-string }}"
95+ ` ` `
9696
9797
9898
You can’t perform that action at this time.
0 commit comments