Skip to content

(Needs Review) Update Localization Strings #29146

(Needs Review) Update Localization Strings

(Needs Review) Update Localization Strings #29146

Workflow file for this run

name: Build server
on:
push:
paths:
- '.github/workflows/server.yml'
- 'app/**'
- 'conf/**'
- 'modules/**'
- 'project/**'
- 'translation/**'
- 'build.sbt'
- 'lila.sh'
- 'conf/application.conf.default'
- '.sbtopts.default'
branches-ignore:
- 'l10n_master'
pull_request:
paths:
- '.github/workflows/server.yml'
- 'app/**'
- 'conf/**'
- 'modules/**'
- 'project/**'
- 'translation/source/**'
- 'build.sbt'
- 'lila.sh'
- 'conf/application.conf.default'
- '.sbtopts.default'
workflow_dispatch:
workflow_call:
inputs:
skip_format:
description: Skip the format-check job
type: boolean
default: true
required: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0
with:
distribution: temurin
java-version: 21
cache: sbt
- name: Setup sbt
uses: sbt/setup-sbt@c7d2d6258b4bd0d3ec5129e6b3453199d3c79729 # v1.5.8
- run: TZ=UTC git log -1 --date=iso-strict-local --pretty='format:app.version.commit = "%H"%napp.version.date = "%ad"' | tee conf/version.conf
- run: ./lila.sh -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 --zstd -cvpf ../../../lila-3.0.tar.zst . && cd -
env:
ZSTD_LEVEL: 1 # most files are already zipped
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: lila-server
path: lila-3.0.tar.zst
compression-level: 0 # already compressed
format:
if: inputs.skip_format != true
runs-on: ubuntu-latest
env:
SBT_OPTS: -Dsbt.banner=false
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0
with:
distribution: temurin
java-version: 21
cache: sbt
- name: Setup sbt
uses: sbt/setup-sbt@c7d2d6258b4bd0d3ec5129e6b3453199d3c79729 # v1.5.8
- name: Check Formatting
run: sbt scalafmtCheckAll