fpPS4/.github/workflows/pr.yml
VocalFan 61f581ece8
Separate PR and Main builds (#64)
* Update Checkout and Upload-Artifact to V3

* Step 1, separate PRs and Mains

* Name: Main CI

* Step 2: Parallel PR and Main builds.

* Don't use v3 it doesn't work on my old server due to new versions of nodejs

Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
2023-01-18 11:10:43 +03:00

35 lines
606 B
YAML

name: PR CI
on:
push:
pull_request:
branches:
- '*'
jobs:
build_windows:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Hash
shell: cmd
working-directory: ./
run: echo '%GITHUB_SHA:~0,7%' > tag.inc
- name: Compile
shell: cmd
working-directory: ./
run: |
lazbuild -B fpPS4.lpi > nul
strip fpPS4.exe
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: fpPS4
path: fpPS4.exe
if-no-files-found: warn