aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/nightly.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/nightly.yml')
-rw-r--r--.github/workflows/nightly.yml29
1 files changed, 26 insertions, 3 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 402f3cb6..5af23fe6 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -1,15 +1,19 @@
-name: Nightly Release
+name: Nightly Releases
on:
workflow_dispatch:
push:
branches:
- 'main'
+ - 'feature/dedicated-server'
paths-ignore:
- '.gitignore'
- '*.md'
- '.github/*.md'
+permissions:
+ contents: write
+
jobs:
build:
name: Build Windows64
@@ -28,13 +32,16 @@ jobs:
- name: Zip Build
run: 7z a -r LCEWindows64.zip ./x64/Release/*
- - name: Update release
+ - name: Zip Dedicated Server Build
+ run: 7z a -r LCEServerWindows64.zip ./x64/Minecraft.Server/Release/*
+
+ - name: Update Client release
uses: andelf/nightly-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: nightly
- name: Nightly Release
+ name: Nightly Client Release
body: |
Requires at least Windows 7 and DirectX 11 compatible GPU to run. Compiled with MSVC v14.44.35207 in Release mode with Whole Program Optimization, as well as `/O2 /Ot /Oi /Ob3 /GF /fp:precise`.
@@ -44,3 +51,19 @@ jobs:
LCEWindows64.zip
./x64/Release/Minecraft.Client.exe
./x64/Release/Minecraft.Client.pdb
+
+ - name: Update Dedicated Server release
+ uses: andelf/nightly-release@main
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ tag_name: nightly-dedicated-server
+ name: Nightly Dedicated Server Release
+ body: |
+ Dedicated Server runtime for Windows64.
+
+ Download `LCEServerWindows64.zip` and extract it to a folder where you'd like to keep the server runtime.
+ files: |
+ LCEServerWindows64.zip
+ ./x64/Minecraft.Server/Release/Minecraft.Server.exe
+ ./x64/Minecraft.Server/Release/Minecraft.Server.pdb