Skip to content

Add files via upload #304

Add files via upload

Add files via upload #304

Workflow file for this run

name: PS2-Exploits-Installer Release
on:
push:
paths:
- 'installer/**'
- 'installer_res/**'
- '.github/workflows/compile-core.yml'
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ps2dev/ps2dev:v1.0
steps:
- name: Install host build dependencies
run: |
apk add build-base git zip p7zip tar
- name: Checkout source
uses: actions/checkout@v4
- name: Generate version metadata
run: |
echo "SHA8=$(git rev-parse --short=8 HEAD)" >> $GITHUB_ENV
echo "BUILD_TS=$(date +%Y-%m-%d_%H-%M-%S)" >> $GITHUB_ENV
- name: Build PS2 ELF
run: |
cd installer
make rebuild FMCB_INSTALLER_VERSION=${{ env.SHA8 }} EE_BIN_DIR=../installer_res/
make rebuild FMCB_INSTALLER_VERSION=${{ env.SHA8 }} EE_BIN_DIR=../installer_res/ EXFAT=1
- name: PS2-Exploits-Installer Release
run: |
cd installer_res
chmod +x ./pack.sh
./pack.sh
cd ..
zip -r PS2-Exploits-Installer-${{ github.run_number }}.zip PS2-Exploits-Installer
7z a PS2-Exploits-Installer-${{ github.run_number }}.7z PS2-Exploits-Installer
tar -czf PS2-Exploits-Installer-${{ github.run_number }}.tar.gz PS2-Exploits-Installer
- name: Upload artifacts
if: success()
uses: actions/upload-artifact@v4
with:
name: PS2-Exploits-Installer
path: |
PS2-Exploits-Installer-*.zip
PS2-Exploits-Installer-*.7z
PS2-Exploits-Installer-*.tar.gz