Merge pull request #580 from UE4SS-RE/(Fix)MSVCMutexConstexpr #7
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
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: Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
.xmake | |
Binaries | |
Intermediates | |
C:/Users/runneradmin/AppData/Local/.xmake | |
key: ${{ runner.os }}-xmake-${{ hashFiles('**/xmake.lua') }} | |
- name: Build | |
run: | | |
xmake f -m "Game__Shipping__Win64" -y | |
xmake build | |
- 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 |