diff --git a/.github/worflows/debug-nighly.yml b/.github/worflows/debug-nighly.yml new file mode 100644 index 0000000000..3113764217 --- /dev/null +++ b/.github/worflows/debug-nighly.yml @@ -0,0 +1,47 @@ +name: Nightly Debug Release + +on: + workflow_dispatch: + push: + branches: + - 'main' + paths-ignore: + - '.gitignore' + - '*.md' + - '.github/*.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=Debug /p:Platform="Windows64" + + - name: Zip Build + run: 7z a -r LCEWindows64.zip ./x64/Debug/* + + - name: Update release + uses: andelf/nightly-release@main + + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: debug-nightly + name: Debug Nightly 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`. + + # 🚨 First time here? 🚨 + If you've never downloaded the game before, you need to download `LCEWindows64.zip` and extract it to the folder where you'd like to keep the game. The other files are included in this `.zip` file! + files: | + LCEWindows64.zip + ./x64/Debug/Minecraft.Client.exe + ./x64/Debug/Minecraft.Client.pdb diff --git a/README.md b/README.md index 707b1e6d7c..1e85efab6c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The current goal of MinecraftConsoles is to be a multi-platform base for further See our our [Contributor's Guide](./CONTRIBUTING.md) for more information on the goals of this project. ## Download -Windows users can download our [Nightly Build](https://github.com/smartcmd/MinecraftConsoles/releases/tag/nightly)! Simply download the `.zip` file and extract it to a folder where you'd like to keep the game. You can set your username in `username.txt` (you'll have to make this file) +Windows users can download our [Nightly Build](https://github.com/smartcmd/MinecraftConsoles/releases/tag/nightly) or our [Nightly Debug](https://github.com/smartcmd/MinecraftConsoles/releases/tag/debug-nightly) for the debug option enabled! Simply download the `.zip` file and extract it to a folder where you'd like to keep the game. You can set your username in `username.txt` (you'll have to make this file) or If you're looking for Dedicated Server software, download its [Nightly Build here](https://github.com/smartcmd/MinecraftConsoles/releases/tag/nightly-dedicated-server). Similar instructions to the client more or less, though see further down in this README for more info on that.