Skip to content

Expose arena conditions in API response #2629

Expose arena conditions in API response

Expose arena conditions in API response #2629

Workflow file for this run

name: Build server
on:
push:
paths:
- ".github/workflows/server.yml"
- "app/**"
- "conf/**"
- "modules/**"
- "project/**"
- "translation/**"
- "build.sbt"
- "lila"
- "conf/application.conf.default"
- ".sbtopts.default"
branches-ignore:
- "l10n_master2"
pull_request:
paths:
- ".github/workflows/server.yml"
- "app/**"
- "conf/**"
- "modules/**"
- "project/**"
- "translation/source/**"
- "build.sbt"
- "lila"
- "conf/application.conf.default"
- ".sbtopts.default"
jobs:
openjdk14:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.sbt
~/.ivy2/cache
key: ${{ runner.os }}-sbt-${{ hashFiles('**/project/build.properties') }}-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/project/Dependencies.scala') }}
- uses: actions/setup-java@v3
with:
java-version: 14.0.1
distribution: 'zulu'
- run: TZ=UTC git log -1 --date=iso-strict-local --pretty='format:app.version.commit = "%h"%napp.version.date = "%ad"%napp.version.message = """%s"""%n' | tee conf/version.conf
- run: ./lila -Depoll=true "test;stage"
- run: cp LICENSE COPYING.md README.md target/universal/stage && git log -n 1 --pretty=oneline > target/universal/stage/commit.txt
- run: cd target/universal/stage && tar -cvpJf ../../../lila-3.0.tar.xz . && cd -
env:
XZ_OPT: "-0"
- uses: actions/upload-artifact@v3
with:
name: lila-server
path: lila-3.0.tar.xz