Skip to content

Commit 1c75b0a

Browse files
committed
Test on push, release on tag
1 parent 1afdef2 commit 1c75b0a

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-22.04
11+
steps:
12+
- uses: actions/checkout@v4
13+
- run: make test
14+
- uses: softprops/action-gh-release@v2
15+
with:
16+
files: wmap

.github/workflows/tests.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Test Suite
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- "*"
47

58
jobs:
69
test:
@@ -11,6 +14,4 @@ jobs:
1114

1215
steps:
1316
- uses: actions/checkout@v3
14-
15-
- name: make test
16-
run: make test
17+
- run: make test

0 commit comments

Comments
 (0)