-
Notifications
You must be signed in to change notification settings - Fork 187
78 lines (66 loc) · 1.8 KB
/
experimental.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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/**"
- "assets/Mods/**"
- "assets/**.ini"
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: '2.9.3'
- 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