added games: plain null check instead of continue inside a lambda; gamescope build also runs on pushes touching its inputs

This commit is contained in:
The412Banner committed 2026-09-23 09:12:15 -04:00
1 parent 687b882983
commit 23f3e3ccf7
2 files changed
+7 -2

No files matched your search

+5 -1
View File
@@ -5,6 +5,10 @@ name: Build gamescope (patched)
# release asset the apk build fetches (tools/gamescope/release.env names the tag and sha). The
# hosted runtime image is never changed: the apk stages the binary over /usr/local/bin.
on:
push:
paths:
- 'tools/gamescope/**'
- '.github/workflows/build-gamescope.yml'
workflow_dispatch:
inputs:
tag:
@@ -33,7 +37,7 @@ jobs:
gamescope.tzst
gamescope.tzst.sha256
- name: Publish
if: inputs.tag != ''
if: github.event_name == 'workflow_dispatch' && inputs.tag != ''
env:
GH_TOKEN: ${{ github.token }}
run: |