Skip to content

Update mod-building.yml #19

Update mod-building.yml

Update mod-building.yml #19

Workflow file for this run

name: mod building
on: [push]
jobs:
mod-building:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
cache: gradle
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: building-mod
run: ./gradlew build
- name: Run server for 1.5 minutes
run: |
mkdir run

Check failure on line 27 in .github/workflows/mod-building.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/mod-building.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
echo "eula=true" > run/eula.txt
timeout 90 ./gradlew runServer | tee --append server.log || true
- name: Test no errors reported during server run
run: |
chmod +x .github/scripts/test-no-error-reports.sh
.github/scripts/test-no-error-reports.sh