Skip to content

Make Experimental Release #366

Make Experimental Release

Make Experimental Release #366

Workflow file for this run

name: Make Experimental Release
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- "UE4SS/src/**"
- "UE4SS/include/**"
- "UE4SS/generated_src/**"
- "UE4SS/generated_include/**"
- "deps/**"
- "UE4SS/proxy_generator/**"
permissions:
contents: read
concurrency:
group: experimental-release
cancel-in-progress: true
jobs:
make-release:
permissions: write-all
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # needed to get commits since last tag
token: ${{ secrets.UEPSEUDO_PAT }}
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Setup xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
- name: Build
run: |
xmake --version
xmake f -m "Game__Shipping__Win64" -y -vD
xmake build
- name: Check and Print Glaze Log
if: failure()
run: |
$log_file = 'C:\Users\runneradmin\AppData\Local\.xmake\cache\packages\2407\g\glaze\v2.9.0\installdir.failed\logs\install.txt'
if (Test-Path $log_file) {
Get-Content $log_file | Write-Output
} else {
Write-Output "Log file not found: $log_file"
}
- name: Package
run: python tools/buildscripts/release.py package -e
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
tag_name: experimental
body_path: release/release_notes.md
files: |
release/UE4SS_v*.zip
release/zDEV-UE4SS_v*.zip
release/zCustomGameConfigs.zip
release/zMapGenBP.zip