xpipe-mirror/.github/workflows/api-publish.yml
Christopher Schnick 883f4b4b3a Fix workflows
2022-03-10 19:43:33 +01:00

28 lines
574 B
YAML

name: API Publish
on: []
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
version: '21.3.0'
java-version: '17'
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Execute build
run: ./gradlew :api:clean :api:build
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: api
path: build/libs