a
This commit is contained in:
10
action.yaml
10
action.yaml
@@ -1,10 +1,18 @@
|
|||||||
name: npm-publish
|
name: npm-publish
|
||||||
description: "publishes latest version tag to a npm repository"
|
description: "publishes latest version tag to a npm repository"
|
||||||
author: "Bryce Thorup"
|
author: "Bryce Thorup"
|
||||||
|
inputs:
|
||||||
|
npm_repo_key:
|
||||||
|
description: Key used for publising to npm repo
|
||||||
|
required: true
|
||||||
|
npm_repo_url:
|
||||||
|
description: URL to npm repo
|
||||||
|
required: true
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- run: $GITHUB_ACTION_PATH/action.sh
|
- run: $GITHUB_ACTION_PATH/action.sh
|
||||||
env:
|
env:
|
||||||
NPM_REPO_KEY: ${{ secrets.NPM_REPO_KEY}}
|
NPM_REPO_KEY: ${{ github.events.inputs.npm_repo_key}}
|
||||||
|
NPM_REPO_URL: ${{ github.events.inputs.npm_repo_url}}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user