Some checks failed
Gitea Actions Demo / build-docker (push) Waiting to run
Cache Npx / task (push) Waiting to run
Test Java / build-image (push) Failing after 15s
Gitea Actions Demo / setup (push) Failing after 46s
Gitea Actions Demo / test (push) Has been skipped
Gitea Actions Demo / build (push) Has been skipped
37 lines
730 B
YAML
37 lines
730 B
YAML
name: Test Java
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
build-image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Cache Tool cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ${{ env.RUNNER_TOOL_CACHE }}
|
|
key: ${{ runner.os }}-${{ env.RUNNER_TOOL_CACHE }}
|
|
|
|
- name: Run
|
|
run: |
|
|
echo ${{ env.RUNNER_TOOL_CACHE }}
|
|
ls /
|
|
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: zulu
|
|
java-version: 17
|
|
cache: gradle
|
|
|
|
- name: Run
|
|
run: |
|
|
java --version
|
|
chmod a+x ./gradlew
|
|
./gradlew help |