Skip to content

Commit

Permalink
Update PS3 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Mar 30, 2024
1 parent 28cece7 commit 2c05ade
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/build_ps3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,32 @@ jobs:
- name: Compile PS3 build
id: compile
run: |
export PS3DEV=/usr/local/ps3dev
export PSL1GHT=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
make ps3
# otherwise notify_failure doesn't work
- name: Install curl when necessary
if: ${{ always() && steps.compile.outcome == 'failure' }}
run: apt install curl
- uses: ./.github/actions/notify_failure
if: ${{ always() && steps.compile.outcome == 'failure' }}
with:
NOTIFY_MESSAGE: 'Failed to compile PS3 build'
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'



- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'ClassiCube-ps3.self'
DEST_NAME: 'ClassiCube-ps3.self'
DEST_NAME: 'ClassiCube-ps3.self'

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'ClassiCube-ps3.pkg'
DEST_NAME: 'ClassiCube-ps3.pkg'

0 comments on commit 2c05ade

Please sign in to comment.