forked from StarOpenSource/Engine
Compare commits
No commits in common. "294137603febf6dedd13c088f725eb09fa7cb8ed" and "a98cc53b41fdd32fe75e8a7e3d6bf1419d6bf1b0" have entirely different histories.
294137603f
...
a98cc53b41
1 changed files with 5 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
name: build-and-test
|
||||
#name: build-and-test
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
|
@ -8,12 +8,14 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: git.staropensource.de/staropensource/actions-docker:java
|
||||
image: git.staropensource.de/staropensource/actions-docker:latest
|
||||
steps:
|
||||
- name: Install latest OpenJDK release
|
||||
run: pacman -S --noconfirm jdk-openjdk
|
||||
- name: Checkout
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- name: Compile
|
||||
run: ./gradlew --no-daemon jar javadocJar sourceJar
|
||||
run: ./gradlew build
|
||||
- name: Upload library JARs
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
|
@ -37,12 +39,3 @@ jobs:
|
|||
path: |
|
||||
**/build/libs/*-source.jar
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue