@boilerz/action-release
v1.2.5
Published
Github action for version, release and publish packages
Downloads
2
Readme
@boilerz/action-release
Github action for release and publish packages
Usage
See action.yml
Basic:
on:
push:
tags:
- 'v*'
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GH_BOT_TOKEN }} # Bot token if branch is protected
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- uses: boilerz/action-release@master
if: github.ref == 'refs/heads/master'
with:
publishDirectory: 'dist'
buildStep: 'true'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EMAIL: ${{ secrets.GITHUB_EMAIL }}
GITHUB_USER: ${{ secrets.GITHUB_USER }}