-
-
Notifications
You must be signed in to change notification settings - Fork 16
44 lines (36 loc) · 914 Bytes
/
dev-build.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
name: Dev Build
on:
push:
branches-ignore:
- release
jobs:
dev-build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12.2
architecture: x64
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run Windows Builder Script
if: runner.os == 'Windows'
shell: pwsh
run: ./build_executable.ps1
- name: Run Unix-like Builder Script
if: runner.os != 'Windows'
shell: bash
run: ./build_executable.sh
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Palworld_Pal_Editor_${{ runner.os }}_artifact
path: ./dist/