mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-04-16 03:22:16 +08:00
Updating readme
This commit is contained in:
parent
f5b369fc01
commit
05b6c81cc1
@ -3,6 +3,7 @@
|
|||||||
## 2.0.0 (14 Oct 2019)
|
## 2.0.0 (14 Oct 2019)
|
||||||
|
|
||||||
- Migrated to the latest Github Action syntax
|
- Migrated to the latest Github Action syntax
|
||||||
|
- Using `node:10.16-alpine` as base image
|
||||||
|
|
||||||
## 1.1.0 (22 Apr 2019)
|
## 1.1.0 (22 Apr 2019)
|
||||||
|
|
||||||
|
|||||||
14
README.md
14
README.md
@ -35,13 +35,9 @@ jobs:
|
|||||||
|
|
||||||
To authenticate with, and publish to, a registry other than `registry.npmjs.org`:
|
To authenticate with, and publish to, a registry other than `registry.npmjs.org`:
|
||||||
|
|
||||||
```hcl
|
```yml
|
||||||
action "Publish" {
|
- uses: borales/actions-yarn@2.0.0
|
||||||
uses = "Borales/actions-yarn@master"
|
with:
|
||||||
args = "publish --access public"
|
auth-token: ${{ secrets.NPM_TOKEN }}
|
||||||
env = {
|
registry-url: someOtherRegistry.someDomain.net
|
||||||
NPM_REGISTRY_URL = "someOtherRegistry.someDomain.net"
|
|
||||||
}
|
|
||||||
secrets = ["NPM_AUTH_TOKEN"]
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user