mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Inline shell duplicated across four deploy workflows. Single source now in scripts/github/output_apps.sh.
16 lines
490 B
Bash
Executable File
16 lines
490 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# scripts/github/output_apps.sh
|
|
#
|
|
# Resolve the app list and write it to GITHUB_OUTPUT.
|
|
# Inputs via env (forwarded to scripts/meta/resolve/apps.sh):
|
|
# TEST_DEPLOY_TYPE — required (server|workstation|universal)
|
|
# WHITELIST — optional space-separated allowlist
|
|
set -euo pipefail
|
|
|
|
apps="$(./scripts/meta/resolve/apps.sh)"
|
|
[[ -n "$apps" ]] || apps='[]'
|
|
|
|
echo "apps=$apps" >>"$GITHUB_OUTPUT"
|
|
echo "apps_json=$apps" >>"$GITHUB_OUTPUT"
|
|
echo "apps_json=$apps"
|