Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.utilities.buildpipeline 1.5.6 #44

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading