mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-11-23 06:19:57 +00:00
61f581ece8
* 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>
35 lines
606 B
YAML
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
|