9
9
runs-on : macos-11
10
10
steps :
11
11
- name : Checkout
12
- uses : actions/checkout@v2
12
+ uses : actions/checkout@v4
13
13
- name : Install Dotnet
14
- uses : actions/setup-dotnet@v1
14
+ uses : actions/setup-dotnet@v4
15
15
with :
16
- dotnet-version : ' 6.0.100 '
16
+ global-json-file : global.json
17
17
- name : Restore Tools
18
18
run : dotnet tool restore
19
19
- name : Paket Restore
25
25
- name : Test
26
26
run : dotnet test -l "console;verbosity=detailed" --no-build --nologo
27
27
- name : Upload MacOS native libs
28
- uses : actions/upload-artifact@v2
28
+ uses : actions/upload-artifact@v4
29
29
with :
30
30
name : mac_x64
31
31
path : libs/Native/Aardvark.Assembler/mac/AMD64/
@@ -34,11 +34,11 @@ jobs:
34
34
runs-on : macos-11
35
35
steps :
36
36
- name : Checkout
37
- uses : actions/checkout@v2
37
+ uses : actions/checkout@v4
38
38
- name : Build Native
39
39
run : ./buildnative.sh arm64
40
40
- name : Upload MacOS native libs
41
- uses : actions/upload-artifact@v2
41
+ uses : actions/upload-artifact@v4
42
42
with :
43
43
name : mac_m1
44
44
path : libs/Native/Aardvark.Assembler/mac/ARM64/
@@ -47,11 +47,11 @@ jobs:
47
47
runs-on : ubuntu-20.04
48
48
steps :
49
49
- name : Checkout
50
- uses : actions/checkout@v2
50
+ uses : actions/checkout@v4
51
51
- name : Install Dotnet
52
- uses : actions/setup-dotnet@v1
52
+ uses : actions/setup-dotnet@v4
53
53
with :
54
- dotnet-version : ' 6.0.100 '
54
+ global-json-file : global.json
55
55
- name : Restore Tools
56
56
run : dotnet tool restore
57
57
- name : Paket Restore
63
63
- name : Test
64
64
run : dotnet test -l "console;verbosity=detailed" --no-build --nologo
65
65
- name : Upload Linux native libs
66
- uses : actions/upload-artifact@v2
66
+ uses : actions/upload-artifact@v4
67
67
with :
68
68
name : linux_x64
69
69
path : libs/Native/Aardvark.Assembler/linux/AMD64/
@@ -72,11 +72,11 @@ jobs:
72
72
runs-on : windows-latest
73
73
steps :
74
74
- name : Checkout
75
- uses : actions/checkout@v2
75
+ uses : actions/checkout@v4
76
76
- name : Install Dotnet
77
- uses : actions/setup-dotnet@v1
77
+ uses : actions/setup-dotnet@v4
78
78
with :
79
- dotnet-version : ' 6.0.100 '
79
+ global-json-file : global.json
80
80
- name : Restore Tools
81
81
run : dotnet tool restore
82
82
- name : Paket Restore
88
88
- name : Test
89
89
run : dotnet test -l "console;verbosity=detailed" --no-build --nologo
90
90
- name : Upload Windows native libs
91
- uses : actions/upload-artifact@v2
91
+ uses : actions/upload-artifact@v4
92
92
with :
93
93
name : windows_x64
94
94
path : libs/Native/Aardvark.Assembler/windows/AMD64/
@@ -103,31 +103,31 @@ jobs:
103
103
- macos_m1
104
104
steps :
105
105
- name : Checkout
106
- uses : actions/checkout@v2
106
+ uses : actions/checkout@v4
107
107
- name : Download MacOS dependencies (x64)
108
- uses : actions/download-artifact@v2
108
+ uses : actions/download-artifact@v4
109
109
with :
110
110
name : mac_x64
111
111
path : libs/Native/Aardvark.Assembler/mac/AMD64/
112
112
- name : Download MacOS dependencies (arm64)
113
- uses : actions/download-artifact@v2
113
+ uses : actions/download-artifact@v4
114
114
with :
115
115
name : mac_m1
116
116
path : libs/Native/Aardvark.Assembler/mac/ARM64/
117
117
- name : Download Linux dependencies
118
- uses : actions/download-artifact@v2
118
+ uses : actions/download-artifact@v4
119
119
with :
120
120
name : linux_x64
121
121
path : libs/Native/Aardvark.Assembler/linux/AMD64/
122
122
- name : Download Windows dependencies
123
- uses : actions/download-artifact@v2
123
+ uses : actions/download-artifact@v4
124
124
with :
125
125
name : windows_x64
126
126
path : libs/Native/Aardvark.Assembler/windows/AMD64/
127
127
- name : Install Dotnet
128
- uses : actions/setup-dotnet@v1
128
+ uses : actions/setup-dotnet@v4
129
129
with :
130
- dotnet-version : ' 6.0.100 '
130
+ global-json-file : global.json
131
131
- name : Restore Tools
132
132
run : dotnet tool restore
133
133
- name : Paket Restore
@@ -139,7 +139,7 @@ jobs:
139
139
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
140
140
run : dotnet aardpack src\Assembler.sln --notag
141
141
- name : Upload Packages
142
- uses : actions/upload-artifact@v2
142
+ uses : actions/upload-artifact@v4
143
143
with :
144
144
name : packages
145
145
path : bin\pack
0 commit comments