Skip to content

.

. #3

Workflow file for this run

on:

Check failure on line 1 in .github/workflows/pre-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pre-build.yml

Invalid workflow file

(Line: 40, Col: 16): Unrecognized named-value: 'inputs'. Located at position 1 within expression: inputs.shell
workflow_call:
inputs:
compileargs:
# Just build the core application and the shared test helpers, but leave actually
# building the tests to the individual workers who need each test suite since
# there won't be much overlap and the various workers can work in parallel
default: 'dist.executable + core.api.test.compile + testkit.compile'
type: string
java-version:
default: '17'
type: string
os:
type: string
timeout-minutes:
default: 60
type: number
shell:
required: true
type: string
jobs:
run:
runs-on: ${{ inputs.os }}
timeout-minutes: ${{ inputs.timeout-minutes }}
steps:
# For normal PR jobs, just checkout the base_ref the PR is against
- uses: actions/checkout@v5
with: { fetch-depth: 1 }
- uses: ./.github/actions/pre-build-setup
with:
os: ${{ inputs.os }}
java-version: ${{ inputs.java-version }}
shell: ${{ inputs.shell }}
- run: ./mill -i dist.installLocal
- run: rm -rf out
shell: ${{ inputs.shell }}
- run: ./mill-assembly.jar -i -k ${{ inputs.compileargs }}
- uses: actions/[email protected]
with:
path: .
name: ${{ inputs.os }}-artifact
include-hidden-files: true