Skip to content

Commit e41e50e

Browse files
committed
2 parents 4d732c8 + 47bbb18 commit e41e50e

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.github/workflows/ci-cd-dispatcher.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ on:
3838
required: false
3939
# Automatically run tests & builds on certain branches or PR changes
4040
push:
41-
branches: main
4241
tags:
4342
- 'v[0-9]+.[0-9]+.[0-9]+' # matches v1.2.3
4443
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+' # matches v1.2.3-rc.1

.github/workflows/dry-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
steps:
4646
- name: 🧮 Create Dry Build Matrix
4747
id: set-matrix
48+
shell: bash
4849
run: |
4950
grouped='${{ needs.group_build_targets.outputs.validBuildTargets }}'
5051
echo "📦 Grouped targets: $grouped"
@@ -68,6 +69,7 @@ jobs:
6869
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
6970
steps:
7071
- name: Create Placeholder Folder Structure
72+
shell: bash
7173
run: |
7274
BUILD_VERSION="${{ inputs.buildVersion }}"
7375
TARGET="${{ matrix.buildTarget }}"

.github/workflows/step-2-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
steps:
5252
- name: 🧮 Create Build Matrix from Grouped Build Targets
5353
id: set_matrix
54+
shell: bash
5455
run: |
5556
grouped='${{ needs.group_build_targets.outputs.validBuildTargets }}'
5657
echo "📦 Grouped build targets: $grouped"
@@ -102,7 +103,7 @@ jobs:
102103
buildType: ${{ inputs.buildType }}
103104
unityVersion: ${{ inputs.unityVersion }}
104105

105-
- name: Resolve Unity Run Params
106+
- name: Resolve Unity Run Parameters
106107
id: resolve_run_parameters
107108
uses: avalin/unity-ci-templates/.github/actions/resolve-unity-run-parameters@main
108109
with:
@@ -133,9 +134,11 @@ jobs:
133134

134135
- name: Fix Permissions (Linux only)
135136
if: startsWith(matrix.os, 'ubuntu')
137+
shell: bash
136138
run: sudo chown -R $USER:$USER build/
137139

138140
- name: Organize Build Output
141+
shell: bash
139142
run: |
140143
VERSION="${{ inputs.buildVersion }}"
141144
PLATFORM="${{ steps.resolve_run_parameters.outputs.targetPlatform }}"
@@ -186,6 +189,7 @@ jobs:
186189
if: ${{ needs.summarize_builds.outputs.didAnyBuildsFail == 'true' }}
187190
steps:
188191
- name: ⛔ Fail the Pipeline
192+
shell: bash
189193
run: |
190194
echo "❌ One or more builds failed. Failing the pipeline."
191195
exit 1

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
Search keywords: Unity CI/CD, Unity GitHub Actions, Unity automation pipeline, Unity build system, Unity deploy GitHub, Unity test automation, Unity game dev CI.
3+
-->
4+
15
# 🚀 Unity CI/CD Pipeline
26

37
**Robust GitHub Actions workflows for Unity projects. Automates testing, multi-platform builds, and GitHub Releases with modular, reusable design.**

0 commit comments

Comments
 (0)