mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Build number version suffix
This commit is contained in:
2 files changed
+5
-2
No files matched your search
+4
-1
@@ -53,7 +53,7 @@ public sealed class SetupAmongUsTask : AsyncFrostingTask<BuildContext>
|
||||
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<BuildContext>
|
||||
{
|
||||
private void Build(BuildContext context, string project)
|
||||
{
|
||||
var buildId = context.EnvironmentVariable<string>("GITHUB_RUN_NUMBER", null);
|
||||
|
||||
context.DotNetCoreBuild(project, new DotNetCoreBuildSettings
|
||||
{
|
||||
Configuration = "Release",
|
||||
VersionSuffix = buildId == null ? "dev" : "ci." + buildId,
|
||||
EnvironmentVariables =
|
||||
{
|
||||
["GamePlatform"] = "Steam",
|
||||
|
||||
Reference in new issue
Block a user