Skip to content

Update CI

Update CI #3

Workflow file for this run

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