Files
MinecraftConsoles/.github/workflows/nightly.yml
void_17 a3095a7050 Ship updated binary alongside with the whole archive in nightly builds
Now ship both the entire .zip archive and the separate .exe binary updated on each commit.
2026-03-03 23:07:37 +07:00

42 lines
1.0 KiB
YAML

name: Nightly Release
on:
workflow_dispatch:
push:
branches:
- 'main'
paths-ignore:
- '.gitignore'
- '*.md'
jobs:
build:
name: Build Windows64
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup msbuild
uses: microsoft/setup-msbuild@v2
- name: Build
run: MSBuild.exe MinecraftConsoles.sln /p:Configuration=Release /p:Platform="Windows64"
- name: Zip Build
run: 7z a -r LCEWindows64.zip ./x64/Release/*
- name: Update release
uses: andelf/nightly-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: nightly
name: Nightly Release
body: Compiled with MSVC v14.44.35207 in Release mode with Whole Program Optimization, as well as `/O2 /Ot /Oi /Ob3 /GF /fp:precise`. Requires at least Windows 7 and DirectX 11 compatible GPU to run.
files: |
LCEWindows64.zip
./x64/Release/Minecraft.Client.exe