Skip to content

Commit 3df31bb

Browse files
authored
Update build.yml
1 parent 56f3dbb commit 3df31bb

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/build.yml

+14-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
android:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- name: Install NDK
1515
run: |
1616
cd ~
@@ -26,34 +26,37 @@ jobs:
2626
./build_android.sh
2727
./build_android_arm64.sh
2828
- name: Upload
29-
uses: actions/upload-artifact@v2
29+
uses: actions/upload-artifact@v3
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@v2
36+
- uses: actions/checkout@v3
3737
- name: Build
3838
run: |
3939
cd NativeLibs/yasio
4040
./build_linux.sh
4141
- name: Upload
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@v3
4343
with:
4444
path: ./NativeLibs/yasio/plugin_linux/**/*
4545
name: plugin_linux
4646
ios:
4747
runs-on: macos-latest
4848

4949
steps:
50-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@v3
51+
- uses: maxim-lobanov/setup-xcode@v1
52+
with:
53+
xcode-version: '13.4'
5154
- name: Build
5255
run: |
5356
cd NativeLibs/yasio
5457
./build_ios.sh
5558
- name: Upload
56-
uses: actions/upload-artifact@v2
59+
uses: actions/upload-artifact@v3
5760
with:
5861
path: ./NativeLibs/yasio/plugin_ios/**/*
5962
name: plugin_ios
@@ -68,7 +71,7 @@ jobs:
6871
cd NativeLibs/yasio
6972
./build_osx.sh
7073
- name: Upload
71-
uses: actions/upload-artifact@v2
74+
uses: actions/upload-artifact@v3
7275
with:
7376
path: ./NativeLibs/yasio/plugin_osx/**/*
7477
name: plugin_osx
@@ -77,18 +80,18 @@ jobs:
7780
runs-on: windows-latest
7881

7982
steps:
80-
- uses: actions/checkout@v2
83+
- uses: actions/checkout@v3
8184

8285
- name: Insatll MSVC
83-
uses: microsoft/setup-msbuild@v1.0.2
86+
uses: microsoft/setup-msbuild@v1.3
8487

8588
- name: Build
8689
run: |
8790
cd NativeLibs/yasio
8891
.\build_win.bat
8992
.\build_uwp.bat
9093
- name: Upload
91-
uses: actions/upload-artifact@v2
94+
uses: actions/upload-artifact@v3
9295
with:
9396
path: ./NativeLibs/yasio/plugin_win/**/*
9497
name: plugin_win
@@ -97,6 +100,6 @@ jobs:
97100
runs-on: ubuntu-latest
98101
steps:
99102
- name: Download a Build Artifact
100-
uses: actions/download-artifact@v2.0.9
103+
uses: actions/download-artifact@v3
101104
- name: Display structure of downloaded files
102105
run: ls -R

0 commit comments

Comments
 (0)