Skip to content

fix: futures sometimes being wrongly tagged as unloaded #1441

fix: futures sometimes being wrongly tagged as unloaded

fix: futures sometimes being wrongly tagged as unloaded #1441

Workflow file for this run

name: C2ME Build Script
on:
push: {}
pull_request: {}
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: true
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: 25
java-package: jdk
- name: Install LLVM
uses: KyleMayes/install-llvm-action@v2
with:
version: "20.1.8"
force-url: "https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/LLVM-20.1.8-Linux-X64.tar.xz"
directory: ${{ runner.temp }}/llvm
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: false
cache-cleanup: never
- name: Build C2ME
run: |
./gradlew clean build --stacktrace
- name: upload to modrinth and curseforge
run: ./gradlew modrinth publishMainPublicationToCurseForge
if: github.ref == 'refs/heads/dev/1.21.10'
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_UPLOAD_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_API_TOKEN }}
GITHUB_EVENT_RAW_PATH: ${{ github.event_path }}
continue-on-error: true
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: c2me-artifact
path: 'build/libs/*.jar'