Skip to content

Commit 44c4268

Browse files
committed
[workflow] Build and upload Windows artifacts
1 parent 0b1635e commit 44c4268

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,18 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
run: scripts/upload_macos.sh
52+
53+
windows_binary:
54+
name: Build and upload Windows binary
55+
runs-on: windows-2025
56+
needs: create_release
57+
58+
steps:
59+
- uses: actions/checkout@v4
60+
with:
61+
submodules: true
62+
63+
- name: Build and upload artifacts
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
run: scripts/upload_windows.cmd

scripts/upload_windows.cmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@echo off
2+
3+
cargo build -r
4+
zip -j coursepointer-windows.zip target\release\coursepointer.exe docs\third_party_licenses.md
5+
python3 scripts\release.py upload coursepointer-macos.zip

0 commit comments

Comments
 (0)