Skip to content

Commit fad1e34

Browse files
removed image
1 parent cf3bf04 commit fad1e34

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/unity-build.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,33 @@
1-
name: Unity Auto Activation Build
1+
name: Unity Build
22

33
on:
4-
workflow_dispatch:
4+
workflow_dispatch: # run manually for now
55

66
jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Checkout project
10+
- name: Checkout repository
1111
uses: actions/checkout@v4
1212

13+
# 🔹 Activates Unity Personal using your Unity ID credentials
1314
- name: Activate Unity
1415
uses: game-ci/unity-activate@v2
1516
with:
16-
unityVersion: 2022.3.18f1 # 🔹 replace with your ProjectVersion.txt
17-
customImage: unityci/editor:ubuntu-2022.3.18f1-base-1
17+
unityVersion: 2022.3.18f1
1818
env:
1919
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
2020
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
2121

22+
# 🔹 Build for Windows (change platform if needed)
2223
- name: Build project
2324
uses: game-ci/unity-builder@v4
2425
with:
2526
unityVersion: 2022.3.18f1
26-
customImage: unityci/editor:ubuntu-2022.3.18f1-base-1
2727
targetPlatform: StandaloneWindows64
28-
buildName: MyGame
29-
buildPath: build
3028

31-
- name: Upload artifact
29+
- name: Upload build
3230
uses: actions/upload-artifact@v4
3331
with:
34-
name: MyGame-Windows
32+
name: GameBuild
3533
path: build

0 commit comments

Comments
 (0)