Skip to content

Commit a1358a1

Browse files
author
Roland Peelen
committed
💚 - Fix Windows Build
1 parent b897851 commit a1358a1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,21 @@ jobs:
3434
with:
3535
command: build
3636
args: --release
37-
- name: Upload binaries to release
37+
- name: Upload Mac / Linus Binaries to release
38+
if: ${{ matrix.os != 'windows-latest' }}
3839
uses: svenstaro/upload-release-action@v2
3940
with:
4041
repo_token: ${{ secrets.GITHUB_TOKEN }}
4142
file: target/release/rewatch
4243
asset_name: rewatch-${{ matrix.os }}
4344
tag: ${{ github.ref }}
4445
overwrite: true
45-
46+
- name: Upload Windows Binaries to release
47+
if: ${{ matrix.os != 'windows-latest' }}
48+
uses: svenstaro/upload-release-action@v2
49+
with:
50+
repo_token: ${{ secrets.GITHUB_TOKEN }}
51+
file: target/release/rewatch.exe
52+
asset_name: rewatch-${{ matrix.os }}
53+
tag: ${{ github.ref }}
54+
overwrite: true

0 commit comments

Comments
 (0)