Skip to content

Commit 5b6f7eb

Browse files
committed
CI: specific tests for release branch
1 parent e5ecd18 commit 5b6f7eb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ jobs:
55
test:
66
name: Test
77
runs-on: ubuntu-latest
8+
if: github.ref != 'refs/heads/release'
89
steps:
910
- name: Check out
1011
uses: actions/checkout@v4
@@ -19,8 +20,19 @@ jobs:
1920
- name: Simulate release
2021
run: ./release.pl -n
2122

23+
test-release:
24+
name: Test
25+
runs-on: ubuntu-latest
26+
if: github.ref == 'refs/heads/release'
27+
steps:
28+
- name: Check out
29+
uses: actions/checkout@v4
30+
- name: perl -c
31+
run: perl -c ./github-keygen
32+
2233
test-ssh:
2334
runs-on: ubuntu-latest
35+
if: github.ref != 'refs/heads/release'
2436
steps:
2537
- run: ssh -V
2638
- name: Show GitHub public keys

0 commit comments

Comments
 (0)