mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-21 04:32:19 +00:00
ci: fix naming in toolchain-compatibility.yml; rename pull-request.yml -> build-and-test.yml; add server run check to build-and-test.yml
This commit is contained in:
1 parent
76dcb6109e
commit
f6d48a2287
2 files changed
+15
-3
No files matched your search
@@ -10,7 +10,7 @@ on:
|
||||
branches: [ master, main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -32,3 +32,15 @@ jobs:
|
||||
|
||||
- name: Build the mod
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Try running server
|
||||
timeout-minutes: 1
|
||||
run: |
|
||||
mkdir run
|
||||
echo "eula=true" > run/eula.txt
|
||||
./gradlew runServer
|
||||
|
||||
- name: Test if any crash reports are present
|
||||
run: |
|
||||
chmod +x .github/scripts/test-crash-reports.sh
|
||||
.github/scripts/test-crash-reports.sh
|
||||
@@ -8,14 +8,14 @@ on:
|
||||
branches: [ master, main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
check-compatibility-with-java-11:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 8
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
|
||||
Reference in new issue
Block a user