Skip to content

Commit 2120803

Browse files
committed
Upload artifacts to workflow
1 parent 029c9e8 commit 2120803

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/compilation.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
with:
4545
msystem: MINGW32
4646
install: |
47-
base-devel git make texinfo flex bison patch binutils mingw-w64-i686-gcc mpc-devel tar
47+
base-devel git make texinfo flex bison patch binutils mpc-devel tar
48+
autotools gettext gettext-devel
49+
mingw-w64-i686-readline mingw-w64-i686-gcc
4850
mingw-w64-i686-cmake mingw-w64-i686-make mingw-w64-i686-libogg
4951
update: true
5052

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

0 commit comments

Comments
 (0)