File-time-machine/.github/workflows/build-linux.yml
2024-12-06 12:49:26 -07:00

27 lines
648 B
YAML

# .github/workflows/build.yml
name: Build Linux
on:
push:
branches: [main]
jobs:
build:
name: Build Linux
runs-on: self-hosted
steps:
- uses: actions/checkout@master
- name: Compile
id: compile
uses: rust-build/rust-build.action@v1.4.5
with:
RUSTTARGET: x86_64-unknown-linux-musl
UPLOAD_MODE: none
TOOLCHAIN_VERSION: stable
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Binary
path: |
${{ steps.compile.outputs.BUILT_ARCHIVE }}
${{ steps.compile.outputs.BUILT_CHECKSUM }}