xpipe-mirror/.github/workflows/api-publish.yml

29 lines
574 B
YAML
Raw Normal View History

2022-03-10 18:43:33 +00:00
name: API Publish
2022-03-10 18:38:57 +00:00
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