Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build Patchwork Update Script for Windows

on:
push:
paths:
- "**"
- "!**.md"
pull_request:
paths:
- "**"

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Build workspace packages
run: |
cargo build --release -p launch-patchwork
cargo build --release -p update-patchwork

- name: Collect executables
run: |
mkdir artifacts
copy target\release\launch-patchwork.exe artifacts\
copy target\release\update-patchwork.exe artifacts\
copy .gitignore.template artifacts\.gitignore

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: patchwork-exes
include-hidden-files: true
path: artifacts

- name: Upload to release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: artifacts/*
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
/addons/patchwork/
/godot_editor/
.patchwork_version
/target
3 changes: 3 additions & 0 deletions .gitignore.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/addons/patchwork/
/godot_editor/
.patchwork_version
Loading