-
Notifications
You must be signed in to change notification settings - Fork 7
38 lines (32 loc) · 844 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: ps2dev/ps2dev:v1.0
steps:
- name: Install dependencies
run: |
apk add build-base git
- uses: actions/checkout@v2
- name: Compile
run: |
make
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v2
with:
name: OSDSYS-LAUNCHER
path: |
*.ELF
- name: Create release
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
title: "Latest build"
files: |
*.ELF