aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvoid_17 <61356189+void2012@users.noreply.github.com>2026-03-02 05:25:43 +0700
committerGitHub <noreply@github.com>2026-03-02 05:25:43 +0700
commit4576e46e7ff0dcc985d38943d371badc6c332449 (patch)
treef4640efcc7d8ba60e3f925eda1d1e2cba9b33c36
parent071d4f65998d617440ade95bd291e47a6a220c59 (diff)
parent0d33cfbdbc4c3a80528bd263ce6e53be85340713 (diff)
Merge pull request #62 from omrih4/main
Add nightly release github action
-rw-r--r--.github/workflows/nightly.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
new file mode 100644
index 00000000..00f18f53
--- /dev/null
+++ b/.github/workflows/nightly.yml
@@ -0,0 +1,35 @@
+name: Nightly Release
+
+on:
+ workflow_dispatch:
+ push:
+ branches:
+ - 'main'
+
+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
+ files: LCEWindows64.zip \ No newline at end of file