Skip to content

Commit

Permalink
Override ANDROID_HOME? idk
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey authored Jun 6, 2024
1 parent b8b6d8d commit 609c8c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sdl2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ jobs:

- name: Build SDL2
if: runner.os != 'Linux'
run: ${{ matrix.env.nuke_invoke }} SDL2 ${{ runner.os == 'Windows' && '--native' || '' }}
run: ${{ matrix.env.nuke_invoke }} SDL2 ${{ runner.os == 'Windows' && '--native --android-home-value ${{ env.ANDROID_HOME }}' || '' }}
env:
PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}
ANDROID_HOME: ${{ env.ANDROID_HOME }}
ANDROID_SDK_ROOT: ${{ env.ANDROID_SDK_ROOT }}

2 changes: 1 addition & 1 deletion build/nuke/Native/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
partial class Build {
[Nuke.Common.Parameter("Build native code")] readonly bool Native;

[CanBeNull] string AndroidHomeValue;
[Parameter("Android home. Will be determined from dotnet if not provided.")] [CanBeNull] string AndroidHomeValue;

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Darwin Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Darwin Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Darwin Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Darwin Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Darwin Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Windows Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Windows Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Windows Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Windows Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Darwin Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Linux Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

Check failure on line 32 in build/nuke/Native/Core.cs

View workflow job for this annotation

GitHub Actions / Windows Build

'Parameter' is an ambiguous reference between 'Nuke.Common.ParameterAttribute' and 'Octokit.Internal.ParameterAttribute'

static string JobsArg => string.IsNullOrWhiteSpace(GitHubActions.Instance?.Job)
? $" -j{Jobs}"
Expand Down

0 comments on commit 609c8c1

Please sign in to comment.