Skip to content

Commit

Permalink
com.utilities.buildpipeline 1.5.6 (#44)
Browse files Browse the repository at this point in the history
- add `-appBundle` arg for Android abb google play bundles
- updated workflows to only test latest 6000.x and dropped 2019x
  • Loading branch information
StephenHodgson authored Oct 29, 2024
1 parent 3dce9f1 commit 539311d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
unity-version: [2019.x, 2020.x, 2021.x, 2022.x, 6000.x]
os: [ubuntu-latest, windows-latest, macos-15]
unity-version: [2020.x, 2021.x, 2022.x, 6000.x]
build-target: [Android]
include: # for each os specify the build targets
- os: ubuntu-latest
unity-version: 2021.x
unity-version: 6000.x
build-target: StandaloneLinux64
- os: windows-latest
unity-version: 2021.x
unity-version: 6000.x
build-target: StandaloneWindows64
- os: windows-latest
unity-version: 2021.x
unity-version: 6000.x
build-target: WSAPlayer
- os: macos-13
unity-version: 2021.x
- os: macos-15
unity-version: 6000.x
build-target: iOS
- os: macos-13
unity-version: 2021.x
- os: macos-15
unity-version: 6000.x
build-target: StandaloneOSX
steps:
- uses: actions/checkout@v4
Expand All @@ -52,15 +52,13 @@ jobs:
with:
unity-version: ${{ matrix.unity-version }}
build-targets: ${{ matrix.build-target }}

# Activates the installation with the provided credentials
- uses: RageAgainstThePixel/activate-unity-license@v1
with:
license: 'Personal' # Choose license type to use [ Personal, Professional ]
username: ${{ secrets.UNITY_USERNAME }}
password: ${{ secrets.UNITY_PASSWORD }}
# serial: ${{ secrets.UNITY_SERIAL }} # Required for pro activations

- name: Unity Build (${{ matrix.build-target }})
uses: RageAgainstThePixel/unity-build@main
with:
Expand All @@ -71,7 +69,6 @@ jobs:
publish-artifacts: true
artifact-name: '${{ github.run_number }}.${{ github.run_attempt }}-${{ matrix.os }}-${{ matrix.unity-version }}-${{ matrix.build-target }}-Artifacts'
test: false

- name: Validate Text Mesh Pro Resources
if: ${{ matrix.unity-version != '6000.x' }}
run: |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ In addition to any already defined [Unity Editor command line arguments](https:/

| Argument | Description |
| -------- | ----------- |
| `-appBundle` | Builds an .abb for Google Play Store |
| `-splitBinary` | Builds an APK per CPU architecture. |
| `-splitApk` | Uses APK expansion files. |
| `-keystorePath` | Path to the keystore. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public override void ParseCommandLineArgs()
{
switch (arguments[i])
{
case "-appBundle":
EditorUserBuildSettings.buildAppBundle = true;
break;
case "-splitBinary":
PlayerSettings.Android.buildApkPerCpuArchitecture = true;
break;
Expand Down Expand Up @@ -103,7 +106,7 @@ public override void OnPreProcessBuild(BuildReport report)

if (Application.isBatchMode)
{
// Disable to prevent gradle form killing parallel builds
// Disable to prevent gradle form killing parallel builds on same build machine
EditorPrefs.SetBool("AndroidGradleStopDaemonsOnExit", false);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Utilities.BuildPipeline",
"description": "The Build Pipeline Utilities aims to give developers more tools and options when making builds with the command line or with continuous integration.",
"keywords": [],
"version": "1.5.5",
"version": "1.5.6",
"unity": "2019.4",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.utilities.buildpipeine#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.utilities.buildpipeine/releases",
Expand Down

0 comments on commit 539311d

Please sign in to comment.