Compare commits

..

No commits in common. "294137603febf6dedd13c088f725eb09fa7cb8ed" and "a98cc53b41fdd32fe75e8a7e3d6bf1419d6bf1b0" have entirely different histories.

View file

@ -1,4 +1,4 @@
name: build-and-test #name: build-and-test
on: on:
- pull_request - pull_request
@ -8,12 +8,14 @@ jobs:
build: build:
runs-on: docker runs-on: docker
container: container:
image: git.staropensource.de/staropensource/actions-docker:java image: git.staropensource.de/staropensource/actions-docker:latest
steps: steps:
- name: Install latest OpenJDK release
run: pacman -S --noconfirm jdk-openjdk
- name: Checkout - name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4 uses: https://code.forgejo.org/actions/checkout@v4
- name: Compile - name: Compile
run: ./gradlew --no-daemon jar javadocJar sourceJar run: ./gradlew build
- name: Upload library JARs - name: Upload library JARs
uses: https://code.forgejo.org/forgejo/upload-artifact@v4 uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with: with:
@ -37,12 +39,3 @@ jobs:
path: | path: |
**/build/libs/*-source.jar **/build/libs/*-source.jar
if-no-files-found: error if-no-files-found: error
test:
runs-on: docker
container:
image: git.staropensource.de/staropensource/actions-docker:java
steps:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Run tests
run: ./gradlew --no-daemon test