Skip to content

Commit 6c0a934

Browse files
committed
Add release workflow
1 parent 3a804af commit 6c0a934

File tree

2 files changed

+22
-1
lines changed

2 files changed

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

0 commit comments

Comments
 (0)