34
34
35
35
# Windows x64 - PHP8.0
36
36
- build : x86_64-pc-windows-msvc
37
- os : windows-latest
37
+ os : windows-2019
38
38
target : x86_64-pc-windows-msvc
39
39
php-versions : ' 8.0'
40
40
57
57
58
58
# Windows x64 - PHP8.1
59
59
- build : x86_64-pc-windows-msvc
60
- os : windows-latest
60
+ os : windows-2019
61
61
target : x86_64-pc-windows-msvc
62
62
php-versions : ' 8.1'
63
63
80
80
81
81
# Windows x64 - PHP8.2
82
82
- build : x86_64-pc-windows-msvc
83
- os : windows-latest
83
+ os : windows-2019
84
84
target : x86_64-pc-windows-msvc
85
85
php-versions : ' 8.2'
86
86
@@ -103,7 +103,7 @@ jobs:
103
103
104
104
# Windows x64 - PHP8.3
105
105
- build : x86_64-pc-windows-msvc
106
- os : windows-latest
106
+ os : windows-2019
107
107
target : x86_64-pc-windows-msvc
108
108
php-versions : ' 8.3'
109
109
@@ -116,13 +116,13 @@ jobs:
116
116
run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
117
117
118
118
- name : Install Rust (MacOS and Linux)
119
- if : matrix.os != 'windows-latest '
119
+ if : matrix.os != 'windows-2019 '
120
120
uses : dtolnay/rust-toolchain@nightly
121
121
with :
122
122
targets : ${{ matrix.target }}
123
123
124
124
- name : Install Rust (Windows)
125
- if : matrix.os == 'windows-latest '
125
+ if : matrix.os == 'windows-2019 '
126
126
uses : dtolnay/rust-toolchain@stable
127
127
with :
128
128
targets : ${{ matrix.target }}
@@ -160,7 +160,7 @@ jobs:
160
160
mv "target/${{ matrix.target }}/release/lib${binary_name}.dylib" "$dirname"
161
161
mv "target/${{ matrix.target }}/release/lib${binary_name}.so" "$dirname"
162
162
mv "libsql_php_extension.stubs.php" "$dirname"
163
- elif [ "${{ matrix.os }}" = "windows-latest " ]; then
163
+ elif [ "${{ matrix.os }}" = "windows-2019 " ]; then
164
164
mv "target/${{ matrix.target }}/release/${binary_name}.dll" "$dirname"
165
165
mv "libsql_php_extension.stubs.php" "$dirname"
166
166
ls "target/${{ matrix.target }}/release"
@@ -169,7 +169,7 @@ jobs:
169
169
mv "libsql_php_extension.stubs.php" "$dirname"
170
170
fi
171
171
172
- if [ "${{ matrix.os }}" = "windows-latest " ]; then
172
+ if [ "${{ matrix.os }}" = "windows-2019 " ]; then
173
173
7z a "$dirname.zip" "$dirname"
174
174
echo "ASSET=$dirname.zip" >> $GITHUB_ENV
175
175
else
0 commit comments