mirror of
https://github.com/GayPizzaSpecifications/stable-diffusion-rpc.git
synced 2025-08-04 05:51:32 +00:00
Implement a Java/Kotlin client.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
name: macOS
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
@ -8,13 +7,20 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Build Executable
|
||||
run: swift build -c release --arch arm64 --arch x86_64
|
||||
- name: Copy Executable
|
||||
run: cp .build/apple/Products/Release/StableDiffusionServer StableDiffusionServer
|
||||
- name: Archive Executable
|
||||
- name: Copy Server Executable
|
||||
run: cp .build/apple/Products/Release/stable-diffusion-rpc stable-diffusion-rpc
|
||||
- name: Archive Server Executable
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: StableDiffusionServer
|
||||
path: StableDiffusionServer
|
||||
name: stable-diffusion-rpc
|
||||
path: stable-diffusion-rpc
|
||||
- name: Copy Control Executable
|
||||
run: cp .build/apple/Products/Release/stable-diffusion-ctl stable-diffusion-ctl
|
||||
- name: Archive Control Executable
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: stable-diffusion-rpc
|
||||
path: stable-diffusion-rpc
|
||||
format:
|
||||
runs-on: macos-12
|
||||
steps:
|
17
.github/workflows/java.yml
vendored
Normal file
17
.github/workflows/java.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: build
|
||||
build-root-directory: Clients/Java
|
Reference in New Issue
Block a user