gh-action-bump-version/.github/workflows/push.yml

32 lines
718 B
YAML
Raw Normal View History

2019-10-26 18:01:14 +00:00
name: "Bump Version"
on:
push:
branches:
2020-04-03 11:08:39 +00:00
- "master"
2019-10-26 18:01:14 +00:00
jobs:
2019-10-26 18:01:14 +00:00
bump-version:
name: "Bump Version on master"
runs-on: ubuntu-latest
2019-10-26 18:01:14 +00:00
steps:
2019-10-26 18:01:14 +00:00
- name: "Checkout source code"
2020-04-03 10:31:23 +00:00
uses: "actions/checkout@v2"
2019-10-26 23:39:43 +00:00
with:
ref: ${{ github.ref }}
- name: "cat package.json"
run: cat ./package.json
- name: "Setup Node.js"
uses: "actions/setup-node@v1"
with:
2020-04-03 11:04:35 +00:00
node-version: 12
2019-10-26 20:32:18 +00:00
- name: "Automated Version Bump"
2020-04-03 11:08:39 +00:00
uses: "phips28/gh-action-bump-version@master"
2019-11-20 14:55:55 +00:00
with:
2019-11-20 12:37:42 +00:00
tag-prefix: ''
2019-10-26 18:01:14 +00:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "cat package.json"
run: cat ./package.json