Skip to content

Commit 9928e14

Browse files
authored
Merge pull request #109 from fjtrujy/upload_artifacts
Upload artifacts to workflow
2 parents 54eade5 + 0bc0477 commit 9928e14

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/compilation.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,16 @@ jobs:
5656
export PATH="$(brew --prefix gnu-sed)/libexec/gnubin:$PATH" # This is just needed for MacOS
5757
export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
5858
./toolchain.sh
59+
60+
- name: Get short SHA
61+
id: slug
62+
run: echo "sha8=${MSYSTEM}-sha[$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
63+
64+
- name: Prepare ps2dev folder
65+
run: |
66+
tar -zcvf ps2dev-${{matrix.os[0]}}.tar.gz ps2dev
67+
68+
- uses: actions/upload-artifact@v4
69+
with:
70+
name: ps2dev-${{matrix.os[0]}}-ps2dev-${{matrix.os[1]}}-${{ steps.slug.outputs.sha8 }}
71+
path: ps2dev-${{matrix.os[0]}}.tar.gz

0 commit comments

Comments
 (0)