Skip to content

Commit 8376a72

Browse files
committed
Update artefacts names
1 parent cd61a57 commit 8376a72

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/compilation.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,18 @@ jobs:
2424
export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
2525
make clean all install
2626
27-
- name: Compress ps2dev folder
27+
- name: Get short SHA
28+
id: slug
29+
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
30+
31+
- name: Compress bin folder
2832
run: |
29-
tar -zcvf ps2dev.tar.gz ps2dev
33+
tar -zcvf bin.tar.gz ps2dev/bin
3034
3135
- uses: actions/upload-artifact@v2
3236
with:
33-
name: ps2dev-${{matrix.os}}
34-
path: ps2dev.tar.gz
37+
name: ps2client-${{ steps.slug.outputs.sha8 }}-${{matrix.os}}
38+
path: ps2dev/bin/
3539

3640
- name: Extract tag name
3741
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)