mirror of https://github.com/red-prig/fpPS4.git
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>
This commit is contained in:
parent
26fc53d6e9
commit
61f581ece8
|
@ -1,5 +1,5 @@
|
|||
|
||||
name: CI
|
||||
name: Main CI
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -7,9 +7,6 @@ on:
|
|||
- '*'
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
|
||||
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
|
Loading…
Reference in New Issue