Skip to content

Commit

Permalink
don't do full build all the time
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreypicard committed Jul 24, 2021
1 parent 61636f3 commit fa2dc58
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/build-short.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Build Hub'

on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.16.5
- run: go build .
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: 'Build Hub'

on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion scripts/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit fa2dc58

Please sign in to comment.