Skip to content

Commit fc6aadc

Browse files
authored
Update README.md
1 parent e78ec52 commit fc6aadc

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff 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
9090
Then 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

0 commit comments

Comments
 (0)