Skip to content

Commit 35a1835

Browse files
andrewbirdPerditionC
authored andcommitted
CI: Update workflow and readme badge
1 parent 7a27485 commit 35a1835

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/ci-build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1-
name: Build / Test / Upload snapshot
2-
1+
name: Build
32
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- edited
7+
- ready_for_review
8+
- reopened
9+
- synchronize
410
push:
5-
branches: [ master ]
611

712
jobs:
813
build:
14+
if: contains(github.event.head_commit.message, '[skip ci]') == false
915

1016
runs-on: ubuntu-20.04
1117

@@ -34,6 +40,8 @@ jobs:
3440
)
3541
3642
- name: upload
43+
if: github.repository == 'FDOS/kernel' &&
44+
(github.event_name == 'push' || github.event.pull_request.merged == true)
3745
uses: actions/upload-artifact@v2
3846
with:
3947
name: ${{ steps.snapshotname.outputs.fname }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This version of the kernel is intended only for 8086+ or 80386+ IBM compatible c
1313
Please feel free to email me - [email protected]
1414
2020
1515

16+
[![Build](../../workflows/Build/badge.svg)](../../actions)
1617

1718
[![Build Status](https://travis-ci.com/FDOS/kernel.svg?branch=master)](https://travis-ci.com/FDOS/kernel)
1819
Now with automatic builds and soon tests on [Travis CI](http://travis-ci.com)

0 commit comments

Comments
 (0)