Skip to content

Commit ab8480f

Browse files
committed
Adding initial release script to allow local testing.
1 parent 284110b commit ab8480f

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Libdbc Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
major:
7+
required: true
8+
type: string
9+
minor:
10+
required: true
11+
type: string
12+
patch:
13+
required: true
14+
type: string
15+
16+
jobs:
17+
create_release:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: "Checkout the code"
21+
uses: actions/checkout@v3
22+
23+
- name: "Run tests as a pre check"
24+
uses: .github/workflows/tests.yml
25+
26+
27+
28+

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- "master"
77
pull_request:
8+
workflow_dispatch:
89

910
env:
1011
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)

0 commit comments

Comments
 (0)