Skip to content

Commit 60c1676

Browse files
committed
ci: use windows-2019
1 parent cfce0b7 commit 60c1676

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/rust.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
runs-on: ${{ matrix.os }}
3939
strategy:
4040
matrix:
41-
os: [ubuntu-latest, windows-latest, macOS-latest]
42-
continue-on-error: ${{ matrix.os == 'windows-latest' }}
41+
os: [ubuntu-latest, windows-2019, macOS-latest]
42+
continue-on-error: ${{ matrix.os == 'windows-2019' }}
4343
needs: tagref
4444
steps:
4545
- name: Checkout repo
@@ -117,10 +117,10 @@ jobs:
117117
runs-on: ${{ matrix.os }}
118118
strategy:
119119
matrix:
120-
os: [ubuntu-latest, windows-latest, macOS-latest]
120+
os: [ubuntu-latest, windows-2019, macOS-latest]
121121
needs: check
122122
if: github.event_name == 'push'
123-
continue-on-error: ${{ matrix.os == 'windows-latest' }}
123+
continue-on-error: ${{ matrix.os == 'windows-2019' }}
124124
steps:
125125
- name: Checkout repo
126126
uses: actions/checkout@v2
@@ -148,7 +148,7 @@ jobs:
148148
run: cargo build --locked --release
149149

150150
- name: UPX windows
151-
if: ${{ matrix.os == 'windows-latest' }}
151+
if: ${{ matrix.os == 'windows-2019' }}
152152
run: .github/upx.exe target/release/loqui.exe
153153

154154
- name: UPX linux
@@ -170,7 +170,7 @@ jobs:
170170
path: target/release/loqui
171171

172172
- name: Artifact Windows
173-
if: ${{ matrix.os == 'windows-latest' }}
173+
if: ${{ matrix.os == 'windows-2019' }}
174174
uses: actions/upload-artifact@v2.3.1
175175
with:
176176
name: build-windows

0 commit comments

Comments
 (0)