2019-10-26 18:01:14 +00:00
|
|
|
name: "Bump Version"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "master"
|
|
|
|
|
2019-08-14 19:19:25 +00:00
|
|
|
jobs:
|
2019-10-26 18:01:14 +00:00
|
|
|
bump-version:
|
|
|
|
name: "Bump Version on master"
|
2019-08-14 19:19:25 +00:00
|
|
|
runs-on: ubuntu-latest
|
2019-10-26 18:01:14 +00:00
|
|
|
|
2019-08-14 19:19:25 +00:00
|
|
|
steps:
|
2019-10-26 18:01:14 +00:00
|
|
|
- name: "Checkout source code"
|
2019-10-26 18:07:53 +00:00
|
|
|
uses: "actions/checkout@v1"
|
2019-10-26 23:39:43 +00:00
|
|
|
with:
|
|
|
|
ref: ${{ github.ref }}
|
2019-10-27 19:07:29 +00:00
|
|
|
- name: "cat package.json"
|
|
|
|
run: cat ./package.json
|
2019-10-26 18:42:21 +00:00
|
|
|
- name: "Setup Node.js"
|
|
|
|
uses: "actions/setup-node@v1"
|
|
|
|
with:
|
2019-11-20 12:23:50 +00:00
|
|
|
node-version: 8.10.0
|
2019-10-26 20:32:18 +00:00
|
|
|
- name: "Automated Version Bump"
|
2019-10-26 18:05:34 +00:00
|
|
|
uses: "phips28/gh-action-bump-version@master"
|
2019-11-20 12:37:42 +00:00
|
|
|
wiht:
|
|
|
|
tag-prefix: ''
|
2019-10-26 18:01:14 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2019-10-27 19:07:29 +00:00
|
|
|
- name: "cat package.json"
|
|
|
|
run: cat ./package.json
|