mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-05 15:57:50 +00:00
31 lines
793 B
YAML
31 lines
793 B
YAML
name: Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: build ${{ matrix.target }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, x86_64-apple-darwin]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Compile and release
|
|
id: compile
|
|
uses: rust-build/rust-build.action@v1.4.5
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
RUSTTARGET: ${{ matrix.target }}
|
|
UPLOAD_MODE: none
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Binary
|
|
path: |
|
|
${{ steps.compile.outputs.BUILT_ARCHIVE }}
|
|
${{ steps.compile.outputs.BUILT_CHECKSUM }}
|