Skip to content

Commit

Permalink
Merge pull request #584 from israpps/patch-13
Browse files Browse the repository at this point in the history
[tools CI] upload built binaries and only run workflow if commiting t…
  • Loading branch information
fjtrujy authored Mar 27, 2024
2 parents 1221c5b + 7117786 commit 92cff0a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Tools

on:
push:
paths:
- 'tools/**'
- '.github/workflows/tools.yml'
pull_request:
repository_dispatch:
types: [run_build]
Expand Down Expand Up @@ -37,4 +40,11 @@ jobs:
export PS2SDK=$PS2DEV/ps2sdk
make -j $(getconf _NPROCESSORS_ONLN) ONLY_HOST_TOOLS=1 clean
make -j $(getconf _NPROCESSORS_ONLN) ONLY_HOST_TOOLS=1 ${{ matrix.debug }}
make -j $(getconf _NPROCESSORS_ONLN) ONLY_HOST_TOOLS=1 install
make -j $(getconf _NPROCESSORS_ONLN) ONLY_HOST_TOOLS=1 install
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v3
with:
name: ps2sdk-tools-${{ matrix.debug }}-${{ matrix.os[0] }}
path: ps2dev/ps2sdk/bin/*

0 comments on commit 92cff0a

Please sign in to comment.