fix: readme had wrong value (#29)

This commit is contained in:
Martin Beentjes
2023-04-03 11:19:30 +02:00
committed by GitHub
parent f8bae97b6a
commit 3cf273023a

View File

@@ -9,7 +9,7 @@ To use this action in your project, use the following:
```yaml
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
uses: martinbeentjes/npm-get-version-action@v1.3.1
```
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
```yaml
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.0
uses: martinbeentjes/npm-get-version-action@v1.3.1
with:
path: packages/<yourpackage>
```