fix: typo in publishing #5
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: C2ME Test | |
on: | |
push: {} | |
pull_request: {} | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
testTask: [runTestC2MEServer] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Set up JDK 23 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: 23 | |
java-package: jdk | |
- name: Install LLVM | |
uses: KyleMayes/install-llvm-action@v2 | |
with: | |
version: "18.1.8" | |
- name: Install required dependencies | |
run: sudo apt update && sudo apt install libtinfo5 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
./.gradle/loom-cache | |
key: ${{ runner.os }}-gradle4-test-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle4-test- | |
- name: setup project | |
run: | | |
git config --global user.email "no-reply@github.com" | |
git config --global user.name "Github Actions" | |
./build.sh up | |
./build.sh patch | |
- name: Test C2ME | |
run: | | |
cd C2ME-fabric-patched | |
./gradlew clean ${{ matrix.testTask }} |