fix: make sensible build check even sensibleer
This commit is contained in:
parent
847b308c14
commit
ffcc28d5ab
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -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
|
||||
@ -33,12 +25,4 @@ jobs:
|
||||
repository: 'java-jscript'
|
||||
- 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
|
||||
cd java-jscript; gradle build
|
Loading…
Reference in New Issue
Block a user