Skip to content

Commit

Permalink
build.yml: Skip windows cross compiled exe when uploading artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
foxnne committed Nov 7, 2024
1 parent 97e5ecf commit 9ae5449
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
run: sudo apt install libgtk-3-dev
- name: Launch xvfb
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
- name: x86_64-linux -> x86_64-windows
run: zig build -Dtarget=x86_64-windows-gnu
- name: Build
run: zig build
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: x86_64-linux
path: zig-out/bin
- name: x86_64-linux -> x86_64-windows
run: zig build -Dtarget=x86_64-windows-gnu
x86_64-windows:
runs-on: windows-latest
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
Expand Down Expand Up @@ -99,5 +99,5 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: x86_64-linux
name: x86_64-macos
path: zig-out/bin

0 comments on commit 9ae5449

Please sign in to comment.