This commit is contained in:
Nb1X committed 2026-07-29 18:04:38 +02:00
commit fc94c8c3ee
3 files changed
+47 -10

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
name: Build AUModdedRegions
on:
push:
branches:
- nightly
pull_request:
branches:
- nightly
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build plugin (Release)
run: dotnet build --configuration Release --no-restore
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: AUModdedRegions-Nightly
path: bin/Release/net6.0/AUModdedRegions.dll
+4 -10
View File
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
@@ -8,21 +8,15 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<!-- Masque le warning NU1603 -->
<NoWarn>$(NoWarn);NU1603</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-*" PrivateAssets="all" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.1.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<Reference Include="UnityEngine">
<HintPath>$(MSBuildProjectDirectory)\Libs\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(MSBuildProjectDirectory)\Libs\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<!-- Packages Unity gérés par NuGet pour le build -->
<PackageReference Include="UnityEngine.Modules" Version="2021.3.16" PrivateAssets="all" IncludeAssets="compile" />
</ItemGroup>
</Project>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="BepInEx" value="https://nuget.bepinex.dev/v3/index.json" />
</packageSources>
</configuration>