-
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (35 loc) · 975 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
39
name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest
steps:
- name: Install dependencies
run: |
apk add build-base git
- uses: actions/checkout@v3
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git fetch --prune --unshallow
- name: Compile
run: |
make clean all
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: DONGLE_DUMPER
path: |
DONGLE_DUMPER.ELF
- name: Create release
if: github.ref == 'refs/heads/main'
uses: mathieucarbou/marvinpinto-action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
title: "Latest development build"
files: |
DONGLE_DUMPER.ELF