Skip to content

Commit 596358c

Browse files
authored
Update build.yml
1 parent bbeb8cd commit 596358c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/build.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
android:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- name: Install NDK
1515
run: |
1616
cd ~
17-
wget -O NDK -q https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip
17+
wget -O NDK -q https://dl.google.com/android/repository/android-ndk-r23c-linux-x86_64.zip
1818
sudo apt install unzip -y
1919
unzip -q NDK
2020
ANDROID_NDK=$(pwd)/android-ndk-r19c
@@ -26,33 +26,33 @@ jobs:
2626
./build_android.sh
2727
./build_android_arm64.sh
2828
- name: Upload
29-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
3030
with:
3131
path: ./NativeLibs/yasio/plugin_android/**/*
3232
name: plugin_android
3333
linux:
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
- name: Build
3838
run: |
3939
cd NativeLibs/yasio
4040
./build_linux.sh
4141
- name: Upload
42-
uses: actions/upload-artifact@v3
42+
uses: actions/upload-artifact@v4
4343
with:
4444
path: ./NativeLibs/yasio/plugin_linux/**/*
4545
name: plugin_linux
4646
ios:
4747
runs-on: macos-latest
48-
4948
steps:
49+
- uses: actions/checkout@v4
5050
- name: Build
5151
run: |
5252
cd NativeLibs/yasio
5353
./build_ios.sh
5454
- name: Upload
55-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
5656
with:
5757
path: ./NativeLibs/yasio/plugin_ios/**/*
5858
name: plugin_ios
@@ -61,13 +61,13 @@ jobs:
6161
runs-on: macos-latest
6262

6363
steps:
64-
- uses: actions/checkout@v2
64+
- uses: actions/checkout@v4
6565
- name: Build
6666
run: |
6767
cd NativeLibs/yasio
6868
./build_osx.sh
6969
- name: Upload
70-
uses: actions/upload-artifact@v3
70+
uses: actions/upload-artifact@v4
7171
with:
7272
path: ./NativeLibs/yasio/plugin_osx/**/*
7373
name: plugin_osx
@@ -76,18 +76,18 @@ jobs:
7676
runs-on: windows-latest
7777

7878
steps:
79-
- uses: actions/checkout@v3
79+
- uses: actions/checkout@v4
8080

8181
- name: Insatll MSVC
82-
uses: microsoft/setup-msbuild@v1.3
82+
uses: microsoft/setup-msbuild@v2
8383

8484
- name: Build
8585
run: |
8686
cd NativeLibs/yasio
8787
.\build_win.bat
8888
.\build_uwp.bat
8989
- name: Upload
90-
uses: actions/upload-artifact@v3
90+
uses: actions/upload-artifact@v4
9191
with:
9292
path: ./NativeLibs/yasio/plugin_win/**/*
9393
name: plugin_win
@@ -96,6 +96,6 @@ jobs:
9696
runs-on: ubuntu-latest
9797
steps:
9898
- name: Download a Build Artifact
99-
uses: actions/download-artifact@v3
99+
uses: actions/download-artifact@v4
100100
- name: Display structure of downloaded files
101101
run: ls -R

0 commit comments

Comments
 (0)