Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Benbentwo authored Jun 23, 2023
1 parent e78ec52 commit fc6aadc
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,35 +64,35 @@ This is a GitHub Action that can be used to transform strings in GitHub Actions.

## Usage

```yaml
- name: Action Lowercase
id: lowercase
uses: ./ # Uses an action in the root directory
with:
operation: 'lowercase'
input-string: 'Hello World'
- name: Action UpperCase
id: uppercase
uses: ./ # Uses an action in the root directory
with:
operation: 'uppercase'
input-string: 'Hello World'
- name: Action Kebabcase
id: kebabcase
uses: ./ # Uses an action in the root directory
with:
operation: 'kebabcase'
input-string: 'Hello World'
```
```yaml
- name: Action Lowercase
id: lowercase
uses: ./ # Uses an action in the root directory
with:
operation: 'lowercase'
input-string: 'Hello World'

- name: Action UpperCase
id: uppercase
uses: ./ # Uses an action in the root directory
with:
operation: 'uppercase'
input-string: 'Hello World'

- name: Action Kebabcase
id: kebabcase
uses: ./ # Uses an action in the root directory
with:
operation: 'kebabcase'
input-string: 'Hello World'
```
Then Fetch the result with:
```yaml
- name: Get the output
run: echo "The output was ${{ steps.lowercase.outputs.output-string }}"
```
```yaml
- name: Get the output
run: echo "The output was ${{ steps.lowercase.outputs.output-string }}"
```
Expand Down

0 comments on commit fc6aadc

Please sign in to comment.