Skip to content

Commit

Permalink
[CICD] Added CICD builds
Browse files Browse the repository at this point in the history
  • Loading branch information
muit authored Oct 18, 2023
1 parent e3ebf5a commit 29014df
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build

# Controls when the action will run.
on:
push:
branches:
- '**'
pull_request:
workflow_call:

jobs:
publish:
name: "${{ matrix.os }} ${{ matrix.config }} - UE ${{ matrix.version }}"
runs-on: [self-hosted, "UE-${{ matrix.version }}", "${{ matrix.os }}"]
env:
CI_PLUGIN: ActionsExtension
strategy:
fail-fast: false
matrix:
config: [Release]
os: [Windows, Linux]
version: [ "5.3" ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Download Piperift Scripts
run: git clone https://github.com/PipeRift/CICDScripts Scripts

- name: Cache Build
uses: actions/cache@v3
with:
path: Build
key: ${{ matrix.os }}-${{ matrix.config }}-${{ matrix.version }}

- name: Build Plugin
run: python Scripts/build.py plugin -n ${{ env.CI_PLUGIN }} -p .

0 comments on commit 29014df

Please sign in to comment.