@@ -12,20 +12,21 @@ jobs:
12
12
os : [macos-latest, ubuntu-latest]
13
13
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v4
16
16
17
17
- name : Compile native versions
18
18
run : |
19
19
make --debug
20
20
21
21
- name : Get short SHA
22
22
id : slug
23
- run : echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
23
+ run : |
24
+ echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
24
25
25
26
- name : Create tar archive (keep executable bit)
26
27
run : tar -zcvf ps2client-${{ steps.slug.outputs.sha8 }}-${{matrix.os}}.tar.gz bin
27
28
28
- - uses : actions/upload-artifact@v2
29
+ - uses : actions/upload-artifact@v4
29
30
with :
30
31
name : ps2client-${{ steps.slug.outputs.sha8 }}-${{matrix.os}}
31
32
path : |
36
37
container : dockcross/windows-static-x86:latest
37
38
38
39
steps :
39
- - uses : actions/checkout@v2
40
+ - uses : actions/checkout@v4
40
41
41
42
- name : Compile windows version with cross-compilator
42
43
run : |
49
50
- name : Create tar archive
50
51
run : tar -zcvf ps2client-${{ steps.slug.outputs.sha8 }}-windows-latest.tar.gz bin
51
52
52
- - uses : actions/upload-artifact@v2
53
+ - uses : actions/upload-artifact@v4
53
54
with :
54
55
name : ps2client-${{ steps.slug.outputs.sha8 }}-windows-latest
55
56
path : |
@@ -60,24 +61,25 @@ jobs:
60
61
runs-on : ubuntu-latest
61
62
if : startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
62
63
steps :
63
- - uses : actions/checkout@v2
64
+ - uses : actions/checkout@v4
64
65
65
66
- name : Get short SHA
66
67
id : slug
67
- run : echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
68
+ run : |
69
+ echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
68
70
69
71
- name : Download Mac artifact
70
- uses : actions/download-artifact@v2
72
+ uses : actions/download-artifact@v4
71
73
with :
72
74
name : ps2client-${{ steps.slug.outputs.sha8 }}-macos-latest
73
75
74
76
- name : Download Ubuntu artifact
75
- uses : actions/download-artifact@v2
77
+ uses : actions/download-artifact@v4
76
78
with :
77
79
name : ps2client-${{ steps.slug.outputs.sha8 }}-ubuntu-latest
78
80
79
81
- name : Download Windows artifact
80
- uses : actions/download-artifact@v2
82
+ uses : actions/download-artifact@v4
81
83
with :
82
84
name : ps2client-${{ steps.slug.outputs.sha8 }}-windows-latest
83
85
0 commit comments