@@ -21,18 +21,18 @@ jobs:
21
21
runs-on : ubuntu-latest
22
22
container : tonsky/jwm:latest
23
23
steps :
24
- - uses : actions/checkout@v3
24
+ - uses : actions/checkout@v4
25
25
- run : bash -c 'source /etc/profile && python3 script/build.py --only native'
26
- - uses : actions/upload-artifact@v3
26
+ - uses : actions/upload-artifact@v4
27
27
with :
28
28
name : native
29
29
path : linux/build/libjwm_x64.so
30
30
31
31
build_windows :
32
32
runs-on : windows-latest
33
33
steps :
34
- - uses : actions/checkout@v3
35
- - uses : abdes /gha-setup-ninja@660f330a40aefa8d11632b3f901e92a4adb33d65
34
+ - uses : actions/checkout@v4
35
+ - uses : seanmiddleditch /gha-setup-ninja@master
36
36
- run : |
37
37
echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV
38
38
echo "$JAVA_HOME_11_X64/bin" >> $GITHUB_PATH
@@ -41,22 +41,22 @@ jobs:
41
41
with :
42
42
arch : amd64
43
43
- run : python3 script/build.py --only native
44
- - uses : actions/upload-artifact@v3
44
+ - uses : actions/upload-artifact@v4
45
45
with :
46
46
name : native
47
47
path : windows/build/jwm_x64.dll
48
48
49
49
build_macos :
50
- runs-on : macos-11
50
+ runs-on : macos-latest
51
51
steps :
52
- - uses : actions/checkout@v3
53
- - uses : abdes /gha-setup-ninja@660f330a40aefa8d11632b3f901e92a4adb33d65
52
+ - uses : actions/checkout@v4
53
+ - uses : seanmiddleditch /gha-setup-ninja@master
54
54
- run : |
55
55
echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV
56
56
echo "$JAVA_HOME_11_X64/bin" >> $GITHUB_PATH
57
57
- run : python3 script/build.py --arch=x64 --only native
58
58
- run : python3 script/build.py --arch=arm64 --only native
59
- - uses : actions/upload-artifact@v3
59
+ - uses : actions/upload-artifact@v4
60
60
with :
61
61
name : native
62
62
path : |
@@ -67,17 +67,17 @@ jobs:
67
67
runs-on : ubuntu-latest
68
68
needs : [build_linux, build_windows, build_macos]
69
69
steps :
70
- - uses : actions/checkout@v3
70
+ - uses : actions/checkout@v4
71
71
- run : |
72
72
echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV
73
73
echo "$JAVA_HOME_11_X64/bin" >> $GITHUB_PATH
74
74
- run : python3 script/build.py --only java
75
- - uses : actions/download-artifact@v3
75
+ - uses : actions/download-artifact@v4
76
76
with :
77
77
name : native
78
78
path : target/classes
79
79
- run : python3 script/package.py --only java --ref ${{ github.ref }}
80
- - uses : actions/upload-artifact@v3
80
+ - uses : actions/upload-artifact@v4
81
81
with :
82
82
name : jars
83
83
path : |
0 commit comments