Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/console-check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Triggers build-compatibility checks in console repos (PlayStation, Xbox, Switch)
# whenever a PR is updated, or full tests on release branches.
# whenever a PR is updated, unit tests on master pushes, or full tests on
# release branches.
#
# This workflow does NOT wait for results. Each console repo posts a commit
# status back to this repo's SHA when it finishes (success/failure).
Expand All @@ -13,6 +14,7 @@ on:
- "*.md"
push:
branches:
- master
- "release/**"

concurrency:
Expand Down Expand Up @@ -56,8 +58,10 @@ jobs:
- name: Determine mode
id: mode
run: |
if [[ "${{ github.event_name }}" == "push" ]]; then
if [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == refs/heads/release/* ]]; then
echo "mode=FULL_TEST" >> "$GITHUB_OUTPUT"
elif [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == "refs/heads/master" ]]; then
echo "mode=UNIT_TEST" >> "$GITHUB_OUTPUT"
else
echo "mode=BUILD_ONLY" >> "$GITHUB_OUTPUT"
fi
Expand Down
Loading