diff --git a/Reactor/Reactor.csproj b/Reactor/Reactor.csproj index 7b1c4dd..f3457ba 100644 --- a/Reactor/Reactor.csproj +++ b/Reactor/Reactor.csproj @@ -3,7 +3,7 @@ netstandard2.1 latest - 0.2.0 + 0.3.0 Core mod and API for Among Us NuclearPowered diff --git a/build/Program.cs b/build/Program.cs index b4548e7..9a38dbc 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -53,7 +53,7 @@ public sealed class SetupAmongUsTask : AsyncFrostingTask await ContentDownloader.DownloadAppAsync(AppId, DepotId); ContentDownloader.ShutdownSteam3(); - var bepinexZip = context.DownloadFile("https://github.com/NuclearPowered/BepInEx/releases/download/6.0.0-reactor.13/BepInEx-6.0.0-reactor.13.zip"); + var bepinexZip = context.DownloadFile("https://github.com/NuclearPowered/BepInEx/releases/download/6.0.0-reactor.16/BepInEx-6.0.0-reactor.16.zip"); context.Unzip(bepinexZip, Path.Combine(context.AmongUsPath)); } } @@ -117,9 +117,12 @@ public sealed class BuildTask : FrostingTask { private void Build(BuildContext context, string project) { + var buildId = context.EnvironmentVariable("GITHUB_RUN_NUMBER", null); + context.DotNetCoreBuild(project, new DotNetCoreBuildSettings { Configuration = "Release", + VersionSuffix = buildId == null ? "dev" : "ci." + buildId, EnvironmentVariables = { ["GamePlatform"] = "Steam",