Switch to GitHub Actions for Steam Link builds

This commit is contained in:
Cameron Gutman
2025-10-26 15:55:48 -05:00
parent 68aa04926e
commit a34d40e3ee
3 changed files with 41 additions and 7 deletions

39
.github/workflows/build-steamlink.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: Build Steam Link
on:
push:
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 1
- name: Checkout Steam Link SDK
uses: actions/checkout@v4
with:
repository: ValveSoftware/steamlink-sdk
path: steamlink-sdk
fetch-depth: 1
- name: Set CI version
run: |
CI_VERSION=`echo $GITHUB_SHA | cut -c1-6`
echo "CI_VERSION=$CI_VERSION" >> $GITHUB_ENV
- name: Build binaries
run: STEAMLINK_SDK_PATH=$PWD/steamlink-sdk scripts/build-steamlink-app.sh
- name: Upload Binaries
uses: actions/upload-artifact@v4
with:
name: Moonlight-SteamLink-${{ env.CI_VERSION }}
path: build/deploy-release/*
if-no-files-found: error