From c38f2db98a118f59e9fbc436fd507506e20e6905 Mon Sep 17 00:00:00 2001 From: Bixilon Date: Sun, 8 May 2022 00:08:24 +0200 Subject: [PATCH] github: also build on windows --- .github/workflows/maven.yml | 21 +++++++++++++++++++-- ReadMe.md | 8 ++------ 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8833be296..3e81ba0d0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -10,7 +10,7 @@ on: branches: [ master ] jobs: - build: + build-linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -25,5 +25,22 @@ jobs: - name: Upload Linux x64 build uses: actions/upload-artifact@v2 with: - name: linux-x64-build + name: minosoft-linux-x64 + path: target/Minosoft-*.jar + build-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + - name: Upload Windows x64 build + uses: actions/upload-artifact@v2 + with: + name: minosoft-win64 path: target/Minosoft-*.jar diff --git a/ReadMe.md b/ReadMe.md index f0ef5d81b..cb5a3ba05 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -4,7 +4,7 @@ Minosoft is an open source minecraft client, written from scratch in kotlin (and java). It aims to bring more functionality and stability. -(To be clear: This is not clone of minecraft, you can see it more like a fork or even better as a reimplementation) +(To be clear: This is not clone of minecraft, it is a reimplementation)

Notice: I am **not** responsible for anti cheat banned accounts, this project is heavily in development!

(Also this software is not affiliated with Mojang AB) @@ -106,7 +106,7 @@ If you want to get notified when cool new features arrive or other interesting s ## Downloads / Installation -### Linux +### Linux, Windows The latest x64 build gets uploaded to github actions. See [github actions](https://github.com/Bixilon/Minosoft/actions) @@ -114,10 +114,6 @@ The latest x64 build gets uploaded to github actions. See [github actions](https Thanks to @jugendhacker you can get minosoft directly from the arch user repository (AUR): https://aur.archlinux.org/packages/minosoft-git/ -### Windows - -Build it from source and run it :) - ### macOS Support for macOS is a delicate topic. Let's say it works for now, but it is not convenient to use. Take a look at issue [#29](https://gitlab.bixilon.de/bixilon/minosoft/-/issues/29) for details.