This repository was archived by the owner on Mar 22, 2026. It is now read-only.
[TouchControllerWiki] 更新触控圈页面,添加了触控圈基本机制说明并修正(优化)一些细节 #87
This file contains hidden or 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 TouchController | |
| on: [ pull_request, push ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| MSYS_NO_PATHCONV: 1 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-latest, macos-latest, windows-latest ] | |
| game-version: [ "1.21.11", "26.1" ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Setup Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - uses: nttld/setup-ndk@v1 | |
| id: setup-ndk | |
| with: | |
| ndk-version: r28b | |
| - name: Setup Bazel | |
| uses: bazel-contrib/setup-bazel@0.14.0 | |
| - name: Build | |
| run: bazel build --verbose_failures --config=opt //touchcontroller/versions/fabric/${{ matrix.game-version }} | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts-${{ matrix.os }}-${{ matrix.game-version }} | |
| path: bazel-bin/touchcontroller/versions/fabric/${{ matrix.game-version }}/fabric.jar |