Repository navigation
STALKER 2 fix: Slate: find the viewport when UE5.5 passes all windows as one array #143
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dev Build PR | ||
|
Check warning on line 1 in .github/workflows/dev-build-pr.yml
|
||
| 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 | ||