-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.24 KB
/
main.yaml
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
name: Build Unity Project
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Discard uncommitted changes
run: |
git reset --hard
git clean -fd
- name: Build Unity Project
uses: kuler90/[email protected]
with:
project-path: ${{ github.workspace }} # Default path to your Unity project
build-target: StandaloneWindows64 # Required build target platform
build-path: ./build # Path to build output
build-number: ${{ github.run_number }} # Set application build number
build-defines: RELEASE_VERSION;ENG_VERSION # Set scripting define symbols
build-options: CompressWithLz4HC # Additional build options
- name: Zip Build Output
run: |
zip -r SubnauticaIB.zip ./build/*
- name: Upload to Butler
uses: yeslayla/[email protected]
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: windows
ITCH_GAME: subnauticaib
ITCH_USER: pyoneerc1
PACKAGE: SubnauticaIB.zip