mirror of
https://github.com/LBRYFoundation/herald.go.git
synced 2025-09-30 15:10:33 +00:00
don't do full build all the time
This commit is contained in:
parent
61636f3619
commit
fa2dc58831
3 changed files with 16 additions and 1 deletions
13
.github/workflows/build-short.yml
vendored
Normal file
13
.github/workflows/build-short.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: 'Build Hub'
|
||||
|
||||
on:
|
||||
push:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2.1.3
|
||||
with:
|
||||
go-version: 1.16.5
|
||||
- run: go build .
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -2,6 +2,8 @@ name: 'Build Hub'
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -328,7 +328,7 @@ def main():
|
|||
parser.add_argument("--confirm", default=0, action="count",
|
||||
help="without this flag, it will only print what it will do but will not actually do it")
|
||||
parser.add_argument("--start-tag", help="custom starting tag for changelog generation")
|
||||
parser.add_argument("action", choices=['test', 'current', 'major', 'minor', 'micro'])
|
||||
parser.add_argument("action", choices=['test', 'current', 'major', 'date', 'micro'])
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.action == "test":
|
||||
|
|
Loading…
Add table
Reference in a new issue