Skip to content

Commit b58fc1c

Browse files
committed
Add release workflow
1 parent 3a804af commit b58fc1c

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Build
22

3-
on: [push, workflow_dispatch]
3+
on:
4+
pull_request:
5+
# push:
6+
workflow_call:
7+
workflow_dispatch:
48

59
jobs:
610
build:

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
release:
6+
types: [published]
7+
workflow_dispatch:
8+
9+
jobs:
10+
call-build-workflow:
11+
uses: ./.github/workflows/build.yml
12+
13+
release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Test
17+
run: |
18+
pwd
19+
ls -lah

0 commit comments

Comments
 (0)