Files
Pegasys-RomWBW/.github/workflows/commit.yml
Wayne Warthen 06b685df21 GitHub CI Updates
Adds automation of build and release assets upon release.
2020-03-14 10:34:13 -07:00

31 lines
606 B
YAML

name: Commit Build
on:
push:
branches:
- master
tags-ignore:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: rlespinasse/github-slug-action@1.1.0
- uses: actions/checkout@v2
- name: Build
run: |
sudo apt-get install libncurses-dev
make
make clean
rm -rf .git*
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: RomWBW-${{env.GITHUB_REF_SLUG}}-${{env.GITHUB_SHA_SHORT}}
path: .