-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
104 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,76 +5,118 @@ name: CI | |
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ master ] | ||
branches: [ master, github-workflow-test ] | ||
tags: | ||
- 'v*.*.*' | ||
|
||
# Everything has to be in the same job, otherwise technically speaking you have to rely | ||
# on uploading/downloading artifacts which is very slow when running a self-hosted runner | ||
jobs: | ||
build: | ||
runs-on: self-hosted | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Run Setup Script | ||
run: C:\msys64\msys2_shell.cmd -defterm -here -no-start -mingw64 -shell bash setup.sh | ||
|
||
- name: Package for Unreal Engine 4.24 | ||
run: python package.py "$env:UE_4_24" | ||
|
||
- name: Package for Unreal Engine 4.25 | ||
run: python package.py "$env:UE_4_25" | ||
|
||
- name: Package for Unreal Engine 4.26 | ||
run: python package.py "$env:UE_4_26" | ||
|
||
- name: Package for Unreal Engine 4.27 | ||
run: python package.py "$env:UE_4_27" | ||
|
||
- name: Package for Unreal Engine 5.0 | ||
run: python package.py "$env:UE_5_0" | ||
|
||
- name: Package for Unreal Engine 5.1 | ||
run: python package.py "$env:UE_5_1" | ||
|
||
- name: Package for Unreal Engine 5.2 | ||
run: python package.py "$env:UE_5_2" | ||
|
||
- name: Package for Unreal Engine 5.3 | ||
run: python package.py "$env:UE_5_3" | ||
|
||
- name: Upload Build-Artifact 4.24 | ||
if: startsWith(github.ref, 'refs/heads/') # Upload artifacts when commits (not tags) are pushed | ||
uses: actions/[email protected] | ||
with: | ||
name: UnrealLibretro-4.24 | ||
path: UE_4.24 | ||
path: UnrealLibretro-4.24.zip | ||
if-no-files-found: error | ||
|
||
- name: Upload Build-Artifact 4.25 | ||
if: startsWith(github.ref, 'refs/heads/') | ||
uses: actions/[email protected] | ||
with: | ||
name: UnrealLibretro-4.25 | ||
path: UE_4.25 | ||
path: UnrealLibretro-4.25.zip | ||
if-no-files-found: error | ||
|
||
- name: Upload Build-Artifact 4.26 | ||
if: startsWith(github.ref, 'refs/heads/') | ||
uses: actions/[email protected] | ||
with: | ||
name: UnrealLibretro-4.26 | ||
path: UE_4.26 | ||
path: UnrealLibretro-4.26.zip | ||
if-no-files-found: error | ||
|
||
- name: Upload Build-Artifact 4.27 | ||
if: startsWith(github.ref, 'refs/heads/') | ||
uses: actions/[email protected] | ||
with: | ||
name: UnrealLibretro-4.27 | ||
path: UE_4.27 | ||
path: UnrealLibretro-4.27.zip | ||
if-no-files-found: error | ||
|
||
- name: Upload Build-Artifact 5.0 | ||
if: startsWith(github.ref, 'refs/heads/') | ||
uses: actions/[email protected] | ||
with: | ||
name: UnrealLibretro-5.0 | ||
path: UE_5.0 | ||
path: UnrealLibretro-5.0.zip | ||
if-no-files-found: error | ||
|
||
- name: Upload Build-Artifact 5.1 | ||
if: startsWith(github.ref, 'refs/heads/') | ||
uses: actions/[email protected] | ||
with: | ||
name: UnrealLibretro-5.1 | ||
path: UE_5.1 | ||
path: UnrealLibretro-5.1.zip | ||
if-no-files-found: error | ||
|
||
- name: Upload Build-Artifact 5.2 | ||
if: startsWith(github.ref, 'refs/heads/') | ||
uses: actions/[email protected] | ||
with: | ||
name: UnrealLibretro-5.2 | ||
path: UE_5.2 | ||
path: UnrealLibretro-5.2.zip | ||
if-no-files-found: error | ||
|
||
- name: Upload Build-Artifact 5.3 | ||
if: startsWith(github.ref, 'refs/heads/') | ||
uses: actions/[email protected] | ||
with: | ||
name: UnrealLibretro-5.3 | ||
path: UE_5.3 | ||
path: UnrealLibretro-5.3.zip | ||
if-no-files-found: error | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') # Only release when a tag is pushed | ||
with: | ||
files: | | ||
UnrealLibretro-4.24.zip | ||
UnrealLibretro-4.25.zip | ||
UnrealLibretro-4.26.zip | ||
UnrealLibretro-4.27.zip | ||
UnrealLibretro-5.0.zip | ||
UnrealLibretro-5.1.zip | ||
UnrealLibretro-5.2.zip | ||
UnrealLibretro-5.3.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters