Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kirre-bylund committed Nov 1, 2024
1 parent d0f2c7d commit 00c46df
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/build-with-image.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
name: Build plugin using unreal conainer
run-name: build-plugin
run-name: plugin-builder
on:
pull_request:
branches: # Made towards the following
- main
- dev*
types: # Only on the following activity
- opened
- synchronize # Changes to the branch like new commits, ammends, etc.
push:
branches: # Made towards the following
branches:
- main
- dev
- ci/*
tags:
tags:
- v**
schedule:
- cron: "6 13,1 * * *"
workflow_dispatch: {}

jobs:
build-sdk:
name: Build SDK with ${{ matrix.UE_IMAGE }}
runs-on: ubuntu-22.04-4-core
strategy:
fail-fast: false
matrix:
UE_IMAGE: ${{ fromJson(VARS.CI_UNREAL_IMAGES) }}

name: Build SDK with ${{ matrix.UE_IMAGE }}
runs-on: ubuntu-22.04-4-core
steps:
- name: Setup git
run: |
Expand All @@ -40,6 +38,13 @@ jobs:
- name: Checkout current branch for build
if: ${{ github.event_name != 'schedule' }}
uses: actions/checkout@v4

- name: Check if commits in last 24h
#if: ${{ github.event_name == 'schedule' }}
run: |
_GIT_COMMIT_DATE=$(git log -1 --format=%cd --date=format:%Y%m%dh%H%M%S)
echo "$_GIT_COMMIT_DATE"
exit 10
- name: Pull unreal image ${{ matrix.UE_IMAGE }}
run: |
Expand Down

0 comments on commit 00c46df

Please sign in to comment.