fix: make sensible build check even sensibleer

This commit is contained in:
TopchetoEU 2024-04-16 10:16:20 +03:00
parent 847b308c14
commit ffcc28d5ab
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4

View File

@ -8,15 +8,7 @@ on: [pull_request, push]
jobs:
build:
strategy:
matrix:
# Use these Java versions
java: [
17, # Current Java LTS & minimum supported by Minecraft
]
# and run on both Linux and Windows
os: [ubuntu-22.04, windows-2022]
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
steps:
- name: Setup Java
uses: actions/setup-java@v3
@ -34,11 +26,3 @@ jobs:
- name: Build
run: |
cd java-jscript; gradle build
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
java-jscript/LICENSE
java-jscript/build/libs/*.jar