Skip to content

Commit 45db420

Browse files
committed
feat: health kits
1 parent 400f41a commit 45db420

File tree

5 files changed

+1465
-175
lines changed

5 files changed

+1465
-175
lines changed

.github/workflows/butler.yaml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build Unity Project
2+
3+
on:
4+
#push:
5+
#branches:
6+
#- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Discard uncommitted changes
17+
run: |
18+
git reset --hard
19+
git clean -fd
20+
21+
- name: Install Butler
22+
run: |
23+
curl -LO https://itch.io/butler/installation/linux/butler
24+
chmod +x butler
25+
sudo mv butler /usr/local/bin/
26+
27+
- name: Set up Unity
28+
uses: game-ci/unity-builder@v2
29+
with:
30+
unityVersion: 2022.3.27f1
31+
targetPlatform: StandaloneWindows64
32+
UNITY_LICENSE: ${{ secrets.UNITY_SERIAL }}
33+
34+
- name: Build Unity Project
35+
run: |
36+
unity-builder --projectPath . --buildTarget StandaloneWindows64 --buildName MyGameBuild --outputPath ./build
37+
38+
- name: Zip Build Output
39+
run: |
40+
zip -r subnauticaib.zip ./build/* # Use zip command for Linux
41+
42+
- name: Upload to Butler
43+
run: |
44+
butler push subnauticaib.zip pyoneerc1/subnauticaib:latest --credentials ${{ secrets.BUTLER_CREDENTIALS }}

Assets/Props/Misc/health_kit.glb

13.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)