diff --git a/.github/workflows/platform.yml b/.github/workflows/platform.yml index 249ff79..0c4c363 100644 --- a/.github/workflows/platform.yml +++ b/.github/workflows/platform.yml @@ -27,6 +27,12 @@ on: - "settings.gradle.kts" - "build.gradle.kts" workflow_dispatch: + inputs: + fluxa_core_ref: + description: Fluxa Rust core ref to build + required: false + default: master + type: string permissions: contents: read @@ -39,6 +45,15 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + with: + repository: FluxaMedia/fluxa-core + path: fluxa-core + ref: ${{ inputs.fluxa_core_ref || 'master' }} + + - name: Link sibling Rust core + run: ln -sfn "$GITHUB_WORKSPACE/fluxa-core" "$(dirname "$GITHUB_WORKSPACE")/fluxa-core" + - uses: actions/setup-java@v4 with: distribution: temurin