Skip to content

Commit fb000f1

Browse files
committed
Fix CI
1 parent ca68dd7 commit fb000f1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
jobs:
1717
build:
1818
runs-on: ubuntu-latest
19+
env:
20+
BuildingInsideCI: true
1921

2022
steps:
2123
- name: Checkout Repository

NewMod/NewMod.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<DefineConstants>TRACE;PC</DefineConstants>
1515
</PropertyGroup>
1616

17-
<PropertyGroup Condition=" '$(Configuration)' == 'ANDROID' ">
17+
<PropertyGroup Condition=" '$(Configuration)' == 'ANDROID' And '$(BuildingInsideCI)' != 'true' ">
1818
<RestoreSources>$(RestoreSources);$(MSBuildProjectDirectory)\..\libs\Android</RestoreSources>
1919
<DefineConstants>TRACE;ANDROID_BUILD</DefineConstants>
2020
</PropertyGroup>

0 commit comments

Comments
 (0)