Add windows pre-built releases in v0.3.3.

This commit is contained in:
Sebastian Jeltsch
2024-12-28 19:19:58 +01:00
parent 890fa37b2e
commit d3fceb9e3f
5 changed files with 46 additions and 6 deletions
+28
View File
@@ -123,3 +123,31 @@ jobs:
with:
fail_on_unmatched_files: true
files: trailbase_${{ github.ref_name }}_x86_64_apple_darwin.zip
release-windows:
needs: changelog
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: MinoruSekine/setup-scoop@v4.0.1
with:
buckets: extras
apps: nodejs pnpm protobuf zip
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-pc-windows-msvc
default: true
- name: Rust Build
shell: bash
run: |
cargo build --target x86_64-pc-windows-msvc --release --bin trail && \
zip -r -j trailbase_${{ github.ref_name }}_x86_64_windows.zip target/x86_64-pc-windows-msvc/release/trail.exe CHANGELOG.md LICENSE
- name: Release binaries
uses: softprops/action-gh-release@v2
with:
fail_on_unmatched_files: true
files: trailbase_${{ github.ref_name }}_x86_64_windows.zip