CI: Update workflow and readme badge
This commit is contained in:
parent
7a2748585c
commit
35a18350a0
14
.github/workflows/ci-build.yml
vendored
14
.github/workflows/ci-build.yml
vendored
@ -1,11 +1,17 @@
|
|||||||
name: Build / Test / Upload snapshot
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- ready_for_review
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: contains(github.event.head_commit.message, '[skip ci]') == false
|
||||||
|
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
@ -34,6 +40,8 @@ jobs:
|
|||||||
)
|
)
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
|
if: github.repository == 'FDOS/kernel' &&
|
||||||
|
(github.event_name == 'push' || github.event.pull_request.merged == true)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.snapshotname.outputs.fname }}
|
name: ${{ steps.snapshotname.outputs.fname }}
|
||||||
|
@ -13,6 +13,7 @@ This version of the kernel is intended only for 8086+ or 80386+ IBM compatible c
|
|||||||
Please feel free to email me - PerditionC@gmail.com
|
Please feel free to email me - PerditionC@gmail.com
|
||||||
2020
|
2020
|
||||||
|
|
||||||
|
[![Build](../../workflows/Build/badge.svg)](../../actions)
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.com/FDOS/kernel.svg?branch=master)](https://travis-ci.com/FDOS/kernel)
|
[![Build Status](https://travis-ci.com/FDOS/kernel.svg?branch=master)](https://travis-ci.com/FDOS/kernel)
|
||||||
Now with automatic builds and soon tests on [Travis CI](http://travis-ci.com)
|
Now with automatic builds and soon tests on [Travis CI](http://travis-ci.com)
|
||||||
|
Loading…
Reference in New Issue
Block a user