New translations en_us.json (Korean) #1384
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build" | |
on: | |
push: | |
branches: | |
- "**" | |
- "!master" | |
pull_request: | |
branches: | |
- "**" | |
- "!master" | |
jobs: | |
build: | |
name: "Build project" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "Parse gradle properties" | |
id: gradle-properties | |
run: ./.github/scripts/parse-gradle-properties.sh | |
- name: "Set up JDK" | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ steps.gradle-properties.outputs.MOD_JAVA_VERSION }} | |
distribution: temurin | |
- name: "Generate matrix for the run job" | |
id: set-matrix | |
run: ./.github/scripts/generate-run-matrix.sh | |
- name: "Run gradle build" | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
cache-read-only: false | |
generate-job-summary: false | |
gradle-version: wrapper | |
arguments: build | |
- name: "Upload Built JARs" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: built-jars | |
if-no-files-found: error | |
path: | | |
./**/build/libs/*[0-9].jar | |
run: | |
name: Run ${{ matrix.mod_loader }} ${{ matrix.script }} | |
runs-on: ubuntu-latest | |
needs: build | |
strategy: | |
fail-fast: false | |
matrix: ${{fromJson(needs.build.outputs.matrix)}} | |
timeout-minutes: 15 | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "Download Built JARs" | |
uses: actions/download-artifact@v4 | |
with: | |
name: built-jars | |
- name: "Parse gradle properties" | |
id: gradle-properties | |
run: ./.github/scripts/parse-gradle-properties.sh | |
- name: "Copy mod jar to run/mods" | |
run: mkdir -p run/mods && cp ${{ matrix.mod_loader }}/build/libs/* run/mods | |
- name: Run ${{ matrix.version }} ${{ matrix.mod_loader }} | |
uses: 3arthqu4ke/[email protected] | |
with: | |
mc: ${{ matrix.version }} | |
modloader: ${{ matrix.mod_loader }} | |
regex: .*${{ matrix.mod_loader }}.* | |
mc-runtime-test: ${{ matrix.mod_loader_alias }} | |
java: ${{ steps.gradle-properties.outputs.MOD_JAVA_VERSION }} | |
java-distribution: temurin | |
fabric-api: ${{ steps.gradle-properties.outputs.FABRIC_API_VERSION }} | |
xvfb: false | |
headlessmc-command: -lwjgl --retries 3 --jvm -Djava.awt.headless=true |