Skip to content

Commit 57ae162

Browse files
Update README.md
1 parent 87cb7a7 commit 57ae162

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To use this action in your project, use the following:
99
```yaml
1010
- name: get-npm-version
1111
id: package-version
12-
uses: martinbeentjes/npm-get-version-action@master
12+
uses: martinbeentjes/npm-get-version-action@main
1313
```
1414
1515
The Action sets an output variable called `current-version` which can be used in a following step by using `${{ steps.package-version.outputs.current-version}}`.
@@ -19,7 +19,7 @@ If you are using a monorepo or otherwise have some packages in a subdirectory of
1919
```yaml
2020
- name: get-npm-version
2121
id: package-version
22-
uses: martinbeentjes/npm-get-version-action@master
22+
uses: martinbeentjes/npm-get-version-action@main
2323
with:
2424
path: packages/<yourpackage>
2525
```

0 commit comments

Comments
 (0)