Skip to content
This repository was archived by the owner on Mar 22, 2026. It is now read-only.

push without changing .yml #36

push without changing .yml

push without changing .yml #36

Workflow file for this run

<<<<<<< HEAD
name: Nightly Release

Check failure on line 2 in .github/workflows/nightly.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nightly.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
permissions:
contents: write
=======
name: Nightly Releases
>>>>>>> upstream/main
on:
workflow_dispatch:
push:
branches:
- 'main'
- 'feature/dedicated-server'
paths-ignore:
- '.gitignore'
- '*.md'
- '.github/*.md'
permissions:
contents: write
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=Debug /p:Platform="Windows64"
- name: lazyfix
shell: pwsh
run: Copy-Item -Path "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Redist/MSVC/*/debug_nonredist/x64/*/*.dll" -Destination "./x64/Debug/"; Copy-Item -Path "C:/Windows/System32/ucrtbased.dll" -Destination "./x64/Debug/"
- name: Zip Build
run: 7z a -r LCEWindows64.zip ./x64/Debug/*
- 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 Client Release
body: |
Debug Version of minecraftconsoles
files: |
LCEWindows64.zip
<<<<<<< HEAD
./x64/Debug/Minecraft.Client.exe
./x64/Debug/Minecraft.Client.pdb
=======
./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
>>>>>>> upstream/main