mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Use common fat-build workflow.
This commit is contained in:
parent
261fba8238
commit
2864af856b
3 changed files with 38 additions and 18 deletions
16
.github/workflows/docker-build.yml
vendored
16
.github/workflows/docker-build.yml
vendored
|
@ -8,7 +8,11 @@ on:
|
|||
- master
|
||||
|
||||
jobs:
|
||||
build-jdk:
|
||||
uses: ./.github/workflows/fat-build.yml
|
||||
|
||||
build-docker:
|
||||
needs: build-jdk
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -23,17 +27,11 @@ jobs:
|
|||
dockerfile: ./Dockerfile.graalvm-jvm.ci
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: piped.jar
|
||||
- name: Create Version File
|
||||
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: temurin
|
||||
cache: "gradle"
|
||||
- name: Run Build
|
||||
run: ./gradlew shadowJar
|
||||
- run: mv build/libs/piped-*-all.jar piped.jar
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue