Skip to content

STALKER 2 fix: Slate: find the viewport when UE5.5 passes all windows as one array #143

STALKER 2 fix: Slate: find the viewport when UE5.5 passes all windows as one array

STALKER 2 fix: Slate: find the viewport when UE5.5 passes all windows as one array #143

Workflow file for this run

name: Dev Build PR

Check warning on line 1 in .github/workflows/dev-build-pr.yml

View workflow run for this annotation

GitHub Actions / Dev Build PR

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on: [pull_request_target, workflow_dispatch]
env:
BUILD_TYPE: Release
permissions:
contents: read
pull-requests: read
jobs:
dev-release:
runs-on: windows-latest
# Minimal permissions for this pull_request_target action
# Because we only need to read the repository contents
# By default, pull_request_target grants read/write permissions (not good)
# But it also passes along repository secrets, which we need
# unlike pull_request, which does not pass secrets
permissions:
contents: read
pull-requests: read
strategy:
matrix:
target: [uevr]
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: "refs/pull/${{ github.event.number }}/merge"
token: ${{ secrets.UESDK_PULLER || github.token }}
submodules: recursive
persist-credentials: false
fetch-depth: 4
# Important security check: https://github.com/actions/checkout/issues/518
- name: Sanity check
if : ${{ github.event_name == 'pull_request_target' }}
shell: pwsh
run: |
$commits = git log -n 4 --pretty=format:%H
$previous_commit = $commits[1]
echo $commits
if ($previous_commit -ne "${{ github.event.pull_request.head.sha }}") {
throw "The pull request head commit has changed since the event was triggered."
}
- name: Configure CMake
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -G "Visual Studio 18 2026" -A x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target ${{matrix.target}}
- name: Upload artifacts
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8
with:
name: ${{matrix.target}}
path: ${{github.workspace}}/build/bin/${{matrix.target}}/*
if-no-files-found: error