Skip to content

Add moar calls to Super functions #512

Add moar calls to Super functions

Add moar calls to Super functions #512

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
defaults:
run:
working-directory: C:/SML
jobs:
build:
runs-on: self-hosted
steps:
- name: Cleanup
run: Remove-Item * -Recurse -Force -Confirm:$false -ErrorAction Ignore
- uses: actions/checkout@v2
with:
path: SML
- name: Copy repo to working directory
run: Copy-Item "$Env:GITHUB_WORKSPACE\\SML" -Destination "C:\\SML" -Recurse
- name: Create UE directory
run: mkdir ue
- name: Download, Extract and Setup UE
working-directory: C:/SML/ue
env:
GH_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
gh release download --repo satisfactorymodding/UnrealEngine -p "UnrealEngine-CSS-Editor-Win64.7z.*"
7z x UnrealEngine-CSS-Editor-Win64.7z.001
rm UnrealEngine-CSS-Editor-Win64.7z*
.\\SetupScripts\\Register.bat
- name: Download and Extract Wwise
run: |
Invoke-WebRequest -Uri "https://github.com/Backblaze/B2_Command_Line_Tool/releases/latest/download/b2-windows.exe" -OutFile "b2.exe"
.\b2.exe account authorize "${{ secrets.WWISE_B2_KEY_ID }}" "${{ secrets.WWISE_B2_KEY }}"
.\b2.exe file download "b2://${{ secrets.WWISE_B2_BUCKET }}/Wwise.7z" "Wwise.7z"
7z x -aoa Wwise.7z -oSML\\Plugins\\
rm Wwise.7z
- name: Build for Development Editor
run: .\\ue\\Engine\\Build\\BatchFiles\\Build.bat FactoryEditor Win64 Development -project="C:\\SML\\SML\\FactoryGame.uproject"
- name: Package SML Mod
run: .\\ue\\Engine\\Build\\BatchFiles\\RunUAT.bat -ScriptsForProject="C:\\SML\\SML\\FactoryGame.uproject" PackagePlugin -Project="C:\\SML\\SML\\FactoryGame.uproject" -dlcname=SML -build -server -clientconfig=Shipping -serverconfig=Shipping -platform=Win64 -serverplatform=Win64+Linux -nocompileeditor -installed
- name: Archive SML artifact
uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'push' }}
with:
name: sml
path: C:\\SML\\SML\\Saved\\ArchivedPlugins\\SML\\*.zip