Piped-Backend/.github/workflows/fat-build.yml

25 lines
517 B
YAML
Raw Normal View History

2023-08-14 10:26:52 +00:00
name: Fat JAR Build
on:
workflow_call:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-08-14 10:26:52 +00:00
2023-09-19 22:57:44 +00:00
- name: set up JDK 21
uses: actions/setup-java@v4
2023-08-14 10:26:52 +00:00
with:
2023-09-19 22:57:44 +00:00
java-version: 21
2023-09-19 23:54:58 +00:00
distribution: zulu
2023-08-14 10:26:52 +00:00
cache: "gradle"
- name: Run Build
run: ./gradlew shadowJar
- run: mv build/libs/piped-*-all.jar piped.jar
- uses: actions/upload-artifact@v4
2023-08-14 10:26:52 +00:00
with:
name: piped.jar
path: piped.jar